Remove to_owned()

This commit is contained in:
Sudarsan Balaji committed 2022-03-25 15:18:25 +00:00
1 parent a1b89adf84
commit 51603e06d9
1 file changed
+1 -1
+1 -1
View File
@@ -194,7 +194,7 @@ impl Wallet {
let blockchain = AnyBlockchain::from_config(&any_blockchain_config)?;
let wallet_mutex = Mutex::new(BdkWallet::new(
&descriptor,
change_descriptor.to_owned().as_ref(),
change_descriptor.as_ref(),
network,
database,
blockchain,