Remove trait bounds on Wallet struct
see: https://github.com/rust-lang/api-guidelines/issues/6
This commit is contained in:
parent
acc0ae14ec
commit
dd35903660
@ -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>,
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user