Update zebra-chain/src/orchard/address.rs
Co-authored-by: teor <teor@riseup.net>
This commit is contained in:
parent
f577cb8eb4
commit
f067a25d50
|
@ -55,7 +55,7 @@ impl fmt::Display for Address {
|
||||||
|
|
||||||
let hrp = match self.network {
|
let hrp = match self.network {
|
||||||
Network::Mainnet => human_readable_parts::MAINNET,
|
Network::Mainnet => human_readable_parts::MAINNET,
|
||||||
_ => human_readable_parts::TESTNET,
|
Network::Testnet => human_readable_parts::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