rust: Remove misleading log message
We use the `zcash_address` crate to parse Unified Addresses (which we currently do nothing with). That crate returns an `UnsupportedAddress` error for unhandled address kinds, which we were previously logging. However, we _do_ support the other address kinds; we just parse them in the C++ code. Closes zcash/zcash#5321.
This commit is contained in:
parent
6a57389f38
commit
1b7a031e7b
|
@ -139,8 +139,8 @@ pub extern "C" fn zcash_address_parse_unified(
|
||||||
|
|
||||||
let ua: UnifiedAddressHelper = match addr.convert() {
|
let ua: UnifiedAddressHelper = match addr.convert() {
|
||||||
Ok(ua) => ua,
|
Ok(ua) => ua,
|
||||||
Err(e) => {
|
Err(_) => {
|
||||||
tracing::error!("{}", e);
|
// `KeyIO::DecodePaymentAddress` handles the rest of the address kinds.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue