Skip to content

Commit 5592681

Browse files
committed
f fix comment
1 parent 059ad06 commit 5592681

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/chanmon_update_fail_tests.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3103,9 +3103,9 @@ fn test_blocked_chan_preimage_release() {
31033103
}
31043104

31053105
fn do_test_inverted_mon_completion_order(with_latest_manager: bool, complete_bc_commitment_dance: bool) {
3106-
// When we forward a payment and receive an `update_fulfill_htlc` message from the downstream
3107-
// channel, we immediately claim the HTLC on the upstream channel, before even doing a
3108-
// `commitment_signed` dance on the downstream channel. This implies that our
3106+
// When we forward a payment and receive `update_fulfill_htlc`+`commitment_signed` messages
3107+
// from the downstream channel, we immediately claim the HTLC on the upstream channel, before
3108+
// even doing a `commitment_signed` dance on the downstream channel. This implies that our
31093109
// `ChannelMonitorUpdate`s are generated in the right order - first we ensure we'll get our
31103110
// money, then we write the update that resolves the downstream node claiming their money. This
31113111
// is safe as long as `ChannelMonitorUpdate`s complete in the order in which they are

0 commit comments

Comments
 (0)