Remove to_owned()

This commit is contained in:
Sudarsan Balaji 2022-03-25 15:18:25 +00:00
parent a1b89adf84
commit 51603e06d9
No known key found for this signature in database
GPG Key ID: 6644FFAC82AC1970

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,