Update zebra-chain/src/orchard/keys.rs
Co-authored-by: teor <teor@riseup.net>
This commit is contained in:
parent
e2989e3edf
commit
bba99098f3
|
@ -591,7 +591,7 @@ impl fmt::Display for FullViewingKey {
|
||||||
|
|
||||||
let hrp = match self.network {
|
let hrp = match self.network {
|
||||||
Network::Mainnet => fvk_hrp::MAINNET,
|
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()
|
bech32::encode_to_fmt(f, hrp, bytes.get_ref().to_base32(), Variant::Bech32).unwrap()
|
||||||
|
|
Loading…
Reference in New Issue