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

Fix typos in Ed25519 docstrings #2

Merged
Merged
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
8 changes: 4 additions & 4 deletions pyteal/ast/ternaryexpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ def Ed25519Verify(data: Expr, sig: Expr, key: Expr) -> TernaryExpr:
"""Verify the ed25519 signature of the concatenation ("ProgData" + hash_of_current_program + data).

Args:
data: The data signed by the public key. Must evalutes to bytes.
data: The data signed by the public key. Must evaluate to bytes.
sig: The proposed 64-byte signature of the concatenation ("ProgData" + hash_of_current_program + data).
Must evalute to bytes.
Must evaluate to bytes.
key: The 32 byte public key that produced the signature. Must evaluate to bytes.
"""
return TernaryExpr(
Expand All @@ -81,8 +81,8 @@ def Ed25519Verify_Bare(data: Expr, sig: Expr, key: Expr) -> TernaryExpr:
"""Verify the ed25519 signature of the data against the public key.

Args:
data: The data signed by the public key. Must evalutes to bytes.
sig: The proposed 64-byte signature of the data. Must evalute to bytes.
data: The data signed by the public key. Must evaluate to bytes.
sig: The proposed 64-byte signature of the data. Must evaluate to bytes.
key: The 32 byte public key that produced the signature. Must evaluate to bytes.
"""
return TernaryExpr(
Expand Down