mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-02-11 17:55:46 +00:00
Fix lint
This commit is contained in:
parent
4f129e6a83
commit
a69806cca3
@ -9,10 +9,10 @@ use bech32::{self, Error, FromBase32, ToBase32};
|
|||||||
use pairing::bls12_381::Bls12;
|
use pairing::bls12_381::Bls12;
|
||||||
use std::io::{self, Write};
|
use std::io::{self, Write};
|
||||||
use zcash_primitives::{
|
use zcash_primitives::{
|
||||||
|
legacy::TransparentAddress,
|
||||||
primitives::PaymentAddress,
|
primitives::PaymentAddress,
|
||||||
zip32::{ExtendedFullViewingKey, ExtendedSpendingKey},
|
zip32::{ExtendedFullViewingKey, ExtendedSpendingKey},
|
||||||
JUBJUB,
|
JUBJUB,
|
||||||
legacy::TransparentAddress,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
fn bech32_encode<F>(hrp: &str, write: F) -> String
|
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.
|
/// Decodes a [`TransparentAddress`] from a Base58Check-encoded string.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
|
Loading…
x
Reference in New Issue
Block a user