Skip to content

Commit 3480399

Browse files
committed
f generated not go out
1 parent c887d7f commit 3480399

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lightning/src/ln/chanmon_update_fail_tests.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3106,11 +3106,11 @@ fn do_test_inverted_mon_completion_order(complete_bc_commitment_dance: bool) {
31063106
// When we forward a payment and receive an `update_fulfill_htlc` message from the downstream
31073107
// channel, we immediately claim the HTLC on the upstream channel, before even doing a
31083108
// `commitment_signed` dance on the downstream channel. This implies that our
3109-
// `ChannelMonitorUpdate`s "go out" in the right order - first we ensure we'll get our money,
3110-
// then we write the update that resolves giving money on the downstream node. This is safe as
3111-
// long as `ChannelMonitorUpdate`s complete in the order in which they are generated, but of
3112-
// course this may not be the case. For asynchronous update writes, we have to ensure monitor
3113-
// updates can block each other, preventing the inversion all together.
3109+
// `ChannelMonitorUpdate`s are generated in the right order - first we ensure we'll get our
3110+
// money, then we write the update that resolves giving money on the downstream node. This is
3111+
// safe as long as `ChannelMonitorUpdate`s complete in the order in which they are generated,
3112+
// but of course this may not be the case. For asynchronous update writes, we have to ensure
3113+
// monitor updates can block each other, preventing the inversion all together.
31143114
let chanmon_cfgs = create_chanmon_cfgs(3);
31153115
let node_cfgs = create_node_cfgs(3, &chanmon_cfgs);
31163116

0 commit comments

Comments
 (0)