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

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

View File

@ -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()