Skip to content

Commit

Permalink
fix incorrect reference to globala account in local state docs (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
Moataz-E committed May 23, 2022
1 parent 26d3945 commit 9646a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/state.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ is the address of the account to read from, and the second argument is the key t
App.localGet(Txn.sender(), Bytes("balance")) # read from the sender's account
App.localGet(Txn.accounts[1], Bytes("balance")) # read from Txn.accounts[1]
If you try to read from a key that does not exist in your app's global state, the integer :code:`0`
If you try to read from a key that does not exist in the account's local state, the integer :code:`0`
is returned.

Deleting Local State
Expand Down

0 comments on commit 9646a1a

Please sign in to comment.