Skip to content

Commit

Permalink
fix clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
willemolding committed Sep 11, 2024
1 parent e7e9b6c commit 6e9fcf9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/bindgen/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use std::collections::HashMap;
use std::num::NonZeroU32;

use nonempty::NonEmpty;
use sha2::digest::block_buffer::Block;
use wasm_bindgen::prelude::*;

use bip0039::{English, Mnemonic};
Expand Down Expand Up @@ -94,7 +93,7 @@ impl Wallet {
db: MemoryWalletDb::new(network, PRUNING_DEPTH),
client: CompactTxStreamerClient::new(Client::new(lightwalletd_url.to_string())),
network,
min_confirmations: min_confirmations,
min_confirmations,
})
}

Expand Down Expand Up @@ -416,8 +415,7 @@ impl Wallet {
Err(Error::SendFailed {
code: response.error_code,
reason: response.error_message,
}
.into())
})
} else {
tracing::info!("Transaction {} send successfully :)", txid);
Ok(())
Expand Down

0 comments on commit 6e9fcf9

Please sign in to comment.