s/weird/invalid/
This commit is contained in:
parent
2e063998fb
commit
a6d511eb71
|
@ -21,6 +21,6 @@ impl ZcashDeserialize for PublicKey {
|
||||||
let mut bytes = [0; 33];
|
let mut bytes = [0; 33];
|
||||||
reader.read_exact(&mut bytes[..])?;
|
reader.read_exact(&mut bytes[..])?;
|
||||||
Self::from_slice(&bytes[..])
|
Self::from_slice(&bytes[..])
|
||||||
.map_err(|_| SerializationError::Parse("weird secp256k1 compressed public key"))
|
.map_err(|_| SerializationError::Parse("invalid secp256k1 compressed public key"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue