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:
Jack Grigg 2021-12-16 22:22:05 +00:00
parent 6a57389f38
commit 1b7a031e7b
1 changed files with 2 additions and 2 deletions

View File

@ -139,8 +139,8 @@ pub extern "C" fn zcash_address_parse_unified(
let ua: UnifiedAddressHelper = match addr.convert() {
Ok(ua) => ua,
Err(e) => {
tracing::error!("{}", e);
Err(_) => {
// `KeyIO::DecodePaymentAddress` handles the rest of the address kinds.
return false;
}
};