Skip to content

Commit

Permalink
Change to square brackets to return error on missing keys instead of …
Browse files Browse the repository at this point in the history
…returning default value
  • Loading branch information
ZigaMr committed Sep 10, 2024
1 parent 45c01f1 commit 5ce9296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/py/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ from web3 import Web3
from sapphirepy import sapphire

# Setup your Web3 provider with a signing account.
w3 = Web3(Web3.HTTPProvider(sapphire.NETWORKS.get('sapphire-localnet')))
w3 = Web3(Web3.HTTPProvider(sapphire.NETWORKS['sapphire-localnet']))
w3.middleware_onion.add(construct_sign_and_send_raw_middleware(account))

# Finally, wrap the provider to add Sapphire end-to-end encryption.
Expand Down

0 comments on commit 5ce9296

Please sign in to comment.