Skip to content

Commit

Permalink
Temp 18: Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderbiscuit committed Oct 6, 2023
1 parent ba147a5 commit 30a548c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions bdk-ffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,9 @@ impl Address {
// })
// }

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
18 changes: 9 additions & 9 deletions bdk-ffi/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

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;
use bdk::Wallet as BdkWallet;
use std::sync::{Arc, Mutex, MutexGuard};
Expand Down Expand Up @@ -87,15 +87,15 @@ impl Wallet {
// )
}

pub fn network(&self) -> Network {
self.get_wallet().network().into()
}
// pub fn network(&self) -> Network {
// self.get_wallet().network().into()
// }

fn get_internal_address(&mut self, address_index: AddressIndex) -> AddressInfo {
self.get_wallet()
.get_internal_address(address_index.into())
.into()
}
// fn get_internal_address(&mut self, address_index: AddressIndex) -> AddressInfo {
// self.get_wallet()
// .get_internal_address(address_index.into())
// .into()
// }

// fn get_balance(&self) -> Balance {
// Balance::from(self.inner.get_balance())
Expand Down

0 comments on commit 30a548c

Please sign in to comment.