File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3106,11 +3106,11 @@ fn do_test_inverted_mon_completion_order(complete_bc_commitment_dance: bool) {
3106
3106
// When we forward a payment and receive an `update_fulfill_htlc` message from the downstream
3107
3107
// channel, we immediately claim the HTLC on the upstream channel, before even doing a
3108
3108
// `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.
3114
3114
let chanmon_cfgs = create_chanmon_cfgs ( 3 ) ;
3115
3115
let node_cfgs = create_node_cfgs ( 3 , & chanmon_cfgs) ;
3116
3116
You can’t perform that action at this time.
0 commit comments