From fc368d887536b525beaa3d4685053c2f738ff130 Mon Sep 17 00:00:00 2001 From: Willem Olding Date: Mon, 30 Sep 2024 11:25:00 -0400 Subject: [PATCH] fix fmt and clippy --- src/lib.rs | 2 -- src/wallet.rs | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index b17b3d0..7781cbf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,11 +8,9 @@ pub mod bindgen; #[cfg(feature = "wasm")] pub use bindgen::wallet::WebWallet; - pub mod error; pub mod init; - pub mod wallet; pub use wallet::Wallet; diff --git a/src/wallet.rs b/src/wallet.rs index bb4f90c..71cc1cc 100644 --- a/src/wallet.rs +++ b/src/wallet.rs @@ -80,8 +80,8 @@ impl Clone for Wallet { Self { db: self.db.clone(), client: self.client.clone(), - network: self.network.clone(), - min_confirmations: self.min_confirmations.clone(), + network: self.network, + min_confirmations: self.min_confirmations, } } }