This commit is contained in:
Aditya Kulkarni 2020-05-16 22:32:27 -07:00
parent 4f129e6a83
commit a69806cca3

View File

@ -9,10 +9,10 @@ use bech32::{self, Error, FromBase32, ToBase32};
use pairing::bls12_381::Bls12;
use std::io::{self, Write};
use zcash_primitives::{
legacy::TransparentAddress,
primitives::PaymentAddress,
zip32::{ExtendedFullViewingKey, ExtendedSpendingKey},
JUBJUB,
legacy::TransparentAddress,
};
fn bech32_encode<F>(hrp: &str, write: F) -> String
@ -177,7 +177,6 @@ pub fn decode_payment_address(hrp: &str, s: &str) -> Result<Option<PaymentAddres
})
}
/// Decodes a [`TransparentAddress`] from a Base58Check-encoded string.
///
/// # Examples