Skip to content

Commit 7202c83

Browse files
committed
Make Wallet and WalletKeysManager pub(crate)
1 parent ea448a1 commit 7202c83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ enum WalletSyncStatus {
4343
InProgress { subscribers: tokio::sync::broadcast::Sender<Result<(), Error>> },
4444
}
4545

46-
pub struct Wallet<D, B: Deref, E: Deref, L: Deref>
46+
pub(crate) struct Wallet<D, B: Deref, E: Deref, L: Deref>
4747
where
4848
D: BatchDatabase,
4949
B::Target: BroadcasterInterface,
@@ -485,7 +485,7 @@ where
485485

486486
/// Similar to [`KeysManager`], but overrides the destination and shutdown scripts so they are
487487
/// directly spendable by the BDK wallet.
488-
pub struct WalletKeysManager<D, B: Deref, E: Deref, L: Deref>
488+
pub(crate) struct WalletKeysManager<D, B: Deref, E: Deref, L: Deref>
489489
where
490490
D: BatchDatabase,
491491
B::Target: BroadcasterInterface,

0 commit comments

Comments
 (0)