Skip to content

Commit

Permalink
fix docs referencing what apps should eval to (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
barnjamin authored Feb 9, 2022
1 parent e9bbba5 commit 98b8e1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyteal/ast/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def optedIn(cls, account: Expr, app: Expr) -> "App":
Txn.Accounts or is Txn.Sender, must be evaluated to bytes).
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 int).
"""
require_type(account, TealType.anytype)
require_type(app, TealType.uint64)
Expand Down Expand Up @@ -123,7 +123,7 @@ def localGetEx(cls, account: Expr, app: Expr, key: Expr) -> MaybeValue:
Txn.Accounts or is Txn.Sender, must be evaluated to bytes).
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 int).
key: The key to read from the account's local state. Must evaluate to bytes.
"""
require_type(account, TealType.anytype)
Expand Down

0 comments on commit 98b8e1f

Please sign in to comment.