Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gdanezis committed Jun 6, 2024
1 parent 5afe212 commit 6c2af1a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/python/hello_walrus_sui_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

system_object_id = re.findall(r"system_object:[ ]*(.*)", open(PATH_TO_WALRUS_CONFIG).read())[0]
print(f'System object ID: {system_object_id}')
# Part 3. Check the availability of the blob

# Query the Walrus system object on Sui
request = {
"jsonrpc": "2.0",
"id": 1,
Expand All @@ -35,6 +36,8 @@
]
}
response = requests.post("https://fullnode.testnet.sui.io:443", json=request)
assert response.status_code == 200

system_object_content = response.json()["result"]["data"]["content"]["fields"]
committee = system_object_content["current_committee"]["fields"]["bls_committee"]["fields"]

Expand Down

0 comments on commit 6c2af1a

Please sign in to comment.