Skip to content

Commit de40c83

Browse files
committed
f test tweaks
1 parent 95b4f1b commit de40c83

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lightning/src/ln/chanmon_update_fail_tests.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -3602,7 +3602,7 @@ fn test_glacial_peer_cant_hang() {
36023602
#[test]
36033603
fn test_partial_claim_mon_update_compl_actions() {
36043604
// Test that if we have an MPP claim that we ensure the preimage for the claim is retained in
3605-
// the all `ChannelMonitor`s until the preimage reaches every `ChannelMonitor` for a channel
3605+
// all the `ChannelMonitor`s until the preimage reaches every `ChannelMonitor` for a channel
36063606
// which was a part of the MPP.
36073607
let chanmon_cfgs = create_chanmon_cfgs(4);
36083608
let node_cfgs = create_node_cfgs(4, &chanmon_cfgs);
@@ -3627,8 +3627,6 @@ fn test_partial_claim_mon_update_compl_actions() {
36273627
route.paths[1].hops[1].short_channel_id = chan_4_scid;
36283628
send_along_route_with_secret(&nodes[0], route, &[&[&nodes[1], &nodes[3]], &[&nodes[2], &nodes[3]]], 200_000, payment_hash, payment_secret);
36293629

3630-
let ds_chan_4_mon = get_monitor!(nodes[3], chan_4_id).encode();
3631-
36323630
// Claim along both paths, but only complete one of the two monitor updates.
36333631
chanmon_cfgs[3].persister.set_update_ret(ChannelMonitorUpdateStatus::InProgress);
36343632
chanmon_cfgs[3].persister.set_update_ret(ChannelMonitorUpdateStatus::InProgress);

0 commit comments

Comments
 (0)