Merge pull request #117 from rex4539/typos

Fix typos
This commit is contained in:
str4d 2024-01-19 16:43:20 +00:00 committed by GitHub
commit b693e2e479
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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];