Skip to content

Commit

Permalink
misc: fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
reez committed Oct 9, 2023
1 parent 79c0339 commit 2e44d43
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bdk-ffi/src/blockchain.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// // use crate::BlockchainConfig;
// use crate::{BdkError, Transaction};
use crate::BdkError;
// use crate::BdkError;
// use bdk::bitcoin::Network;
// use bdk::blockchain::any::{AnyBlockchain, AnyBlockchainConfig};
// use bdk::blockchain::rpc::Auth as BdkAuth;
Expand Down
6 changes: 3 additions & 3 deletions bdk-ffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -485,9 +485,9 @@ impl Address {
.map_err(|e| BdkError::Generic(e.to_string()))?,
})
}
fn to_qr_uri(&self) -> String {
self.inner.to_qr_uri()
}
// fn to_qr_uri(&self) -> String {
// self.inner.to_qr_uri()
// }

fn as_string(&self) -> String {
self.inner.to_string()
Expand Down
2 changes: 1 addition & 1 deletion bdk-ffi/src/psbt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// use std::sync::{Arc, Mutex};
//
// use crate::{BdkError, FeeRate, Transaction};
use crate::BdkError;
// use crate::BdkError;
//
// #[derive(Debug)]
// pub(crate) struct PartiallySignedTransaction {
Expand Down
2 changes: 1 addition & 1 deletion bdk-ffi/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ use std::sync::{Arc, Mutex, MutexGuard};
use bdk::Wallet as BdkWallet;
use crate::descriptor::Descriptor;
use crate::{AddressIndex, AddressInfo, Network};
use bdk::wallet::AddressIndex as BdkAddressIndex;
// use bdk::wallet::AddressIndex as BdkAddressIndex;
use bdk::Error as BdkError;
pub enum WalletType {
Memory,
Expand Down

0 comments on commit 2e44d43

Please sign in to comment.