From: LLFourn Date: Tue, 24 Nov 2020 01:40:58 +0000 (+1100) Subject: Remove trait bounds on Wallet struct X-Git-Tag: v0.2.0~52^2 X-Git-Url: http://internal-gitweb-vhost/%22https:/parse/scripts/database/-script/-debug/struct.ScriptHash.html?a=commitdiff_plain;h=dd359036608e68fba173116d618e055fc1ba3f6c;p=bdk Remove trait bounds on Wallet struct see: https://github.com/rust-lang/api-guidelines/issues/6 --- diff --git a/src/wallet/mod.rs b/src/wallet/mod.rs index 9b4f4448..f817d641 100644 --- a/src/wallet/mod.rs +++ b/src/wallet/mod.rs @@ -84,7 +84,7 @@ pub type OfflineWallet = Wallet; /// A wallet can be either "online" if the [`blockchain`](crate::blockchain) type provided /// implements [`Blockchain`], or "offline" [`OfflineBlockchain`] is used. Offline wallets only expose /// methods that don't need any interaction with the blockchain to work. -pub struct Wallet { +pub struct Wallet { descriptor: ExtendedDescriptor, change_descriptor: Option,