@@ -43,28 +43,26 @@ use zcash_client_backend::proto::service::{
4343} ;
4444use zcash_client_backend:: wallet:: OvkPolicy ;
4545use zcash_client_backend:: zip321:: { Payment , TransactionRequest } ;
46- use zcash_protocol:: ShieldedProtocol ;
4746use zcash_client_memory:: { MemBlockCache , MemoryWalletDb } ;
4847use zcash_keys:: keys:: { UnifiedFullViewingKey , UnifiedSpendingKey } ;
4948use zcash_primitives:: transaction:: fees:: FeeRule ;
5049use zcash_primitives:: transaction:: TxId ;
5150use zcash_proofs:: prover:: LocalTxProver ;
52-
51+ use zcash_protocol :: ShieldedProtocol ;
5352
5453use zcash_client_backend:: sync:: run;
5554
56- use zip32;
57- use zip32:: fingerprint:: SeedFingerprint ;
5855use zcash_protocol:: consensus:: Parameters ;
5956use zcash_protocol:: value:: Zatoshis ;
57+ use zip32;
58+ use zip32:: fingerprint:: SeedFingerprint ;
6059
6160const BATCH_SIZE : u32 = 10000 ;
6261
6362/// constant that signals what's the minimum transparent balance for proposing a
6463/// shielding transaction
6564const SHIELDING_THRESHOLD : Zatoshis = Zatoshis :: const_from_u64 ( 100000 ) ;
6665
67-
6866/// # A Zcash wallet
6967///
7068/// A wallet is a set of accounts that can be synchronized together with the blockchain.
@@ -323,7 +321,7 @@ where
323321 ) ;
324322 let request = TransactionRequest :: new ( vec ! [ Payment :: without_memo(
325323 to_address,
326- Zatoshis :: from_u64( value) ?
324+ Zatoshis :: from_u64( value) ?,
327325 ) ] ) ?;
328326
329327 tracing:: info!( "Chain height: {:?}" , self . db. read( ) . await . chain_height( ) ?) ;
@@ -519,7 +517,7 @@ where
519517 let input_selector = GreedyInputSelector :: new ( ) ;
520518 let request = TransactionRequest :: new ( vec ! [ Payment :: without_memo(
521519 to_address,
522- Zatoshis :: from_u64( value) ?
520+ Zatoshis :: from_u64( value) ?,
523521 ) ] ) ?;
524522 let mut db = self . db . write ( ) . await ;
525523 let proposal = propose_transfer :: < _ , _ , _ , _ , <W as WalletCommitmentTrees >:: Error > (
0 commit comments