Update zebra-chain/src/orchard/keys.rs

Co-authored-by: teor <teor@riseup.net>
This commit is contained in:
Deirdre Connolly 2021-03-18 10:28:05 -04:00 committed by Deirdre Connolly
parent e2989e3edf
commit bba99098f3
1 changed files with 1 additions and 1 deletions

View File

@ -591,7 +591,7 @@ impl fmt::Display for FullViewingKey {
let hrp = match self.network {
Network::Mainnet => fvk_hrp::MAINNET,
_ => fvk_hrp::TESTNET,
Network::Testnet => fvk_hrp::TESTNET,
};
bech32::encode_to_fmt(f, hrp, bytes.get_ref().to_base32(), Variant::Bech32).unwrap()