From 296868d32d75abc63412f31350a9347fc6565ba5 Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Fri, 5 Jan 2024 12:53:54 +0200 Subject: [PATCH] Fix typos --- src/keys.rs | 2 +- src/zip32.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/keys.rs b/src/keys.rs index 61dc6f8..06348c7 100644 --- a/src/keys.rs +++ b/src/keys.rs @@ -285,7 +285,7 @@ impl ExpandedSpendingKey { writer.write_all(&self.to_bytes()) } - /// Encodes the expanded spending key to the its seralized representation + /// Encodes the expanded spending key to its serialized representation /// as part of the encoding of the extended spending key as defined in /// [ZIP 32](https://zips.z.cash/zip-0032) pub fn to_bytes(&self) -> [u8; 96] { diff --git a/src/zip32.rs b/src/zip32.rs index f4a8dad..b43be3e 100644 --- a/src/zip32.rs +++ b/src/zip32.rs @@ -379,7 +379,7 @@ impl ExtendedSpendingKey { }) } - /// Encodes the extended spending key to the its seralized representation as defined in + /// Encodes the extended spending key to its serialized representation as defined in /// [ZIP 32](https://zips.z.cash/zip-0032) pub fn to_bytes(&self) -> [u8; 169] { let mut result = [0u8; 169];