Fix unused imports.

This commit is contained in:
Kris Nuttycombe 2023-08-31 17:56:04 -06:00
parent fb8c3a178c
commit 8bcc3c1cc1
3 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,6 @@ use zcash_note_encryption::Domain;
use zcash_primitives::{
block::BlockHash,
consensus::{self, BlockHeight, Network, NetworkUpgrade, Parameters},
legacy::TransparentAddress,
memo::MemoBytes,
sapling::{
note_encryption::{sapling_note_encryption, SaplingDomain},
@ -66,7 +65,9 @@ use super::BlockDb;
#[cfg(feature = "transparent-inputs")]
use {
zcash_client_backend::data_api::wallet::{propose_shielding, shield_transparent_funds},
zcash_primitives::transaction::components::amount::NonNegativeAmount,
zcash_primitives::{
legacy::TransparentAddress, transaction::components::amount::NonNegativeAmount,
},
};
#[cfg(feature = "unstable")]

View File

@ -1571,8 +1571,6 @@ pub(crate) fn prune_nullifier_map(
mod tests {
use std::num::NonZeroU32;
use secrecy::Secret;
use zcash_primitives::transaction::components::Amount;
use zcash_client_backend::data_api::WalletRead;
@ -1586,6 +1584,7 @@ mod tests {
#[cfg(feature = "transparent-inputs")]
use {
secrecy::Secret,
zcash_client_backend::{
data_api::WalletWrite, encoding::AddressCodec, wallet::WalletTransparentOutput,
},

View File

@ -735,7 +735,7 @@ pub(crate) fn update_chain_tip<P: consensus::Parameters>(
#[cfg(test)]
mod tests {
use std::{mem::replace, ops::Range};
use std::ops::Range;
use incrementalmerkletree::{Hashable, Level};
use secrecy::Secret;