mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-07-29 11:31:22 +00:00
Fix lint
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user