Skip to content

Commit

Permalink
Fix type for App.globalGetEx in docs (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonpaulos authored Dec 7, 2021
1 parent 2d28e34 commit af3dbdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyteal/ast/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def globalGetEx(cls, app: Expr, key: Expr) -> MaybeValue:
Args:
app: An index into Txn.ForeignApps that corresponds to the application to read from,
must be evaluated to uint64 (or, since v4, an application id that appears in
Txn.ForeignApps or is the CurrentApplicationID, must be evaluated to bytes).
Txn.ForeignApps or is the CurrentApplicationID, must be evaluated to uint64).
key: The key to read from the global application state. Must evaluate to bytes.
"""
require_type(app.type_of(), TealType.uint64)
Expand Down

0 comments on commit af3dbdc

Please sign in to comment.