commit
b693e2e479
|
@ -285,7 +285,7 @@ impl ExpandedSpendingKey {
|
||||||
writer.write_all(&self.to_bytes())
|
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
|
/// as part of the encoding of the extended spending key as defined in
|
||||||
/// [ZIP 32](https://zips.z.cash/zip-0032)
|
/// [ZIP 32](https://zips.z.cash/zip-0032)
|
||||||
pub fn to_bytes(&self) -> [u8; 96] {
|
pub fn to_bytes(&self) -> [u8; 96] {
|
||||||
|
|
|
@ -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)
|
/// [ZIP 32](https://zips.z.cash/zip-0032)
|
||||||
pub fn to_bytes(&self) -> [u8; 169] {
|
pub fn to_bytes(&self) -> [u8; 169] {
|
||||||
let mut result = [0u8; 169];
|
let mut result = [0u8; 169];
|
||||||
|
|
Loading…
Reference in New Issue