diff --git a/sdk/src/programs/transaction.rs b/sdk/src/programs/transaction.rs index d23e4c3..adf0e17 100644 --- a/sdk/src/programs/transaction.rs +++ b/sdk/src/programs/transaction.rs @@ -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 { TransactionNative::from_bytes_le(bytes).map(Self) diff --git a/sdk/src/programs/verifying_key.rs b/sdk/src/programs/verifying_key.rs index 2a919b3..b545d62 100644 --- a/sdk/src/programs/verifying_key.rs +++ b/sdk/src/programs/verifying_key.rs @@ -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 { VerifyingKeyNative::from_str(s).map(Self) @@ -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> { self.0.to_bytes_le() }