Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/balance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,9 @@ pub enum PendingSweepBalance {
},
/// A spending transaction has been confirmed on-chain and is awaiting threshold confirmations.
///
/// It will be considered irrevocably confirmed after reaching [`ANTI_REORG_DELAY`].
/// It will be pruned after reaching [`PRUNE_DELAY_BLOCKS`] confirmations.
///
/// [`ANTI_REORG_DELAY`]: lightning::chain::channelmonitor::ANTI_REORG_DELAY
/// [`PRUNE_DELAY_BLOCKS`]: lightning::util::sweep::PRUNE_DELAY_BLOCKS
AwaitingThresholdConfirmations {
/// The identifier of the channel this balance belongs to.
channel_id: Option<ChannelId>,
Expand Down
2 changes: 1 addition & 1 deletion tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ pub(crate) fn do_channel_full_cycle<E: ElectrumApi>(
node_a.sync_wallets().unwrap();

assert!(node_b.list_balances().lightning_balances.is_empty());
assert!(node_b.list_balances().pending_balances_from_channel_closures.is_empty());
assert_eq!(node_b.list_balances().pending_balances_from_channel_closures.len(), 1);

// Check node_a properly sees all balances and sweeps them.
assert_eq!(node_a.list_balances().lightning_balances.len(), 1);
Expand Down
Loading