Fix typos

This commit is contained in:
Dimitris Apostolou 2024-01-05 12:53:54 +02:00
parent 4ec6a48daa
commit 296868d32d
No known key found for this signature in database
GPG Key ID: 4B5D20E938204A8A
2 changed files with 2 additions and 2 deletions

View File

@ -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] {

View File

@ -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];