Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c3be676

Browse files
committedDec 2, 2020
Remove trait bounds on Wallet struct
see: rust-lang/api-guidelines#6
1 parent 16645c8 commit c3be676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/wallet/mod.rs

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

0 commit comments

Comments
 (0)
Please sign in to comment.