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, } } }