Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodDaisy committed Jan 14, 2024
1 parent d9cc20b commit 064982f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sdk/src/programs/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl Transaction {
self.0.to_string()
}

/// Constructs a Transation from a byte array.
/// Constructs a Transaction from a byte array.
#[staticmethod]
fn from_bytes(bytes: &[u8]) -> anyhow::Result<Self> {
TransactionNative::from_bytes_le(bytes).map(Self)
Expand Down
4 changes: 2 additions & 2 deletions sdk/src/programs/verifying_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub struct VerifyingKey(VerifyingKeyNative);

#[pymethods]
impl VerifyingKey {
/// Parses a veryifying key from string.
/// Parses a verifying key from string.
#[staticmethod]
fn from_string(s: &str) -> anyhow::Result<Self> {
VerifyingKeyNative::from_str(s).map(Self)
Expand All @@ -40,7 +40,7 @@ impl VerifyingKey {
VerifyingKeyNative::from_bytes_le(bytes).map(Self)
}

/// Returns the byte representation of a veryfying key
/// Returns the byte representation of a verifying key
fn bytes(&self) -> anyhow::Result<Vec<u8>> {
self.0.to_bytes_le()
}
Expand Down

0 comments on commit 064982f

Please sign in to comment.