Merge commit 'refs/pull/188/head' of github.com:bitcoindevkit/bdk

This commit is contained in:
Alekos Filini 2020-11-24 11:14:47 +01:00
commit 7425985850
No known key found for this signature in database
GPG Key ID: 5E8AFC3034FDFA4F

View File

@ -84,7 +84,7 @@ pub type OfflineWallet<D> = Wallet<OfflineBlockchain, D>;
/// A wallet can be either "online" if the [`blockchain`](crate::blockchain) type provided /// A wallet can be either "online" if the [`blockchain`](crate::blockchain) type provided
/// implements [`Blockchain`], or "offline" [`OfflineBlockchain`] is used. Offline wallets only expose /// implements [`Blockchain`], or "offline" [`OfflineBlockchain`] is used. Offline wallets only expose
/// methods that don't need any interaction with the blockchain to work. /// methods that don't need any interaction with the blockchain to work.
pub struct Wallet<B: BlockchainMarker, D: BatchDatabase> { pub struct Wallet<B, D> {
descriptor: ExtendedDescriptor, descriptor: ExtendedDescriptor,
change_descriptor: Option<ExtendedDescriptor>, change_descriptor: Option<ExtendedDescriptor>,