Skip to content

Commit

Permalink
Update components/zcash_address/src/lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d authored Mar 5, 2024
1 parent 170a101 commit 6d918aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/zcash_address/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ impl ZcashAddress {
T::try_from_raw_transparent_p2pkh(data)
}
AddressKind::P2sh(data) if regtest_exception => T::try_from_raw_transparent_p2sh(data),
AddressKind::Tex(data) if regtest_exception => T::try_from_raw_tex(data),
AddressKind::Tex(data) if network_matches => T::try_from_raw_tex(data),
_ => Err(ConversionError::IncorrectNetwork {
expected: net,
actual: self.net,
Expand Down

0 comments on commit 6d918aa

Please sign in to comment.