Skip to content

Commit

Permalink
Make Wallet and WalletKeysManager pub(crate)
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull committed Aug 30, 2024
1 parent ea448a1 commit 7202c83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ enum WalletSyncStatus {
InProgress { subscribers: tokio::sync::broadcast::Sender<Result<(), Error>> },
}

pub struct Wallet<D, B: Deref, E: Deref, L: Deref>
pub(crate) struct Wallet<D, B: Deref, E: Deref, L: Deref>
where
D: BatchDatabase,
B::Target: BroadcasterInterface,
Expand Down Expand Up @@ -485,7 +485,7 @@ where

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

0 comments on commit 7202c83

Please sign in to comment.