Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix typos #720

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/signature/dutch_auction.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def dutch_auction(
redeem_round=tmpl_redeem_round,
wrapup_time=tmpl_wrapup_time,
):
# the definition of i simplifies the original desgin by only constraining last_valid here
# the definition of i simplifies the original design by only constraining last_valid here
i_upper = (Gtxn[0].last_valid() - start_round) / period

bid = And(
Expand Down
2 changes: 1 addition & 1 deletion pyteal/ast/acct.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def minBalance(cls, acct: Expr) -> MaybeValue:

@classmethod
def authAddr(cls, acct: Expr) -> MaybeValue:
"""Get the authorizing address for an account. If the account is not rekeyed, the empty addresss is returned.
"""Get the authorizing address for an account. If the account is not rekeyed, the empty address is returned.

Args:
acct: An index into Txn.accounts that corresponds to the application to check or an address available at runtime.
Expand Down
2 changes: 1 addition & 1 deletion pyteal/ast/txn.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ def asset_close_to(self) -> TxnExpr:
def group_index(self) -> TxnExpr:
"""Get the position of the transaction within the atomic transaction group.

A stand-alone transaction is implictly element 0 in a group of 1.
A stand-alone transaction is implicitly element 0 in a group of 1.

For more information, see https://developer.algorand.org/docs/reference/transactions/#group
"""
Expand Down
2 changes: 1 addition & 1 deletion pyteal/ir/tealblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def NormalizeBlocks(cls, start: "TealBlock") -> "TealBlock":
functionality of its underlying program, however it does mutate the input graph.

Returns:
The new starting point of the altered graph. May be the same or differant than start.
The new starting point of the altered graph. May be the same or different than start.
"""
for block in TealBlock.Iterate(start):
if len(block.incoming) == 1:
Expand Down