Skip to content

Commit 5ba7723

Browse files
committed
f test tweaks
1 parent 19770ac commit 5ba7723

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lightning/src/ln/chanmon_update_fail_tests.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3599,7 +3599,7 @@ fn test_glacial_peer_cant_hang() {
35993599
#[test]
36003600
fn test_partial_claim_mon_update_compl_actions() {
36013601
// Test that if we have an MPP claim that we ensure the preimage for the claim is retained in
3602-
// the all `ChannelMonitor`s until the preimage reaches every `ChannelMonitor` for a channel
3602+
// all the `ChannelMonitor`s until the preimage reaches every `ChannelMonitor` for a channel
36033603
// which was a part of the MPP.
36043604
let chanmon_cfgs = create_chanmon_cfgs(4);
36053605
let node_cfgs = create_node_cfgs(4, &chanmon_cfgs);
@@ -3624,8 +3624,6 @@ fn test_partial_claim_mon_update_compl_actions() {
36243624
route.paths[1].hops[1].short_channel_id = chan_4_scid;
36253625
send_along_route_with_secret(&nodes[0], route, &[&[&nodes[1], &nodes[3]], &[&nodes[2], &nodes[3]]], 200_000, payment_hash, payment_secret);
36263626

3627-
let ds_chan_4_mon = get_monitor!(nodes[3], chan_4_id).encode();
3628-
36293627
// Claim along both paths, but only complete one of the two monitor updates.
36303628
chanmon_cfgs[3].persister.set_update_ret(ChannelMonitorUpdateStatus::InProgress);
36313629
chanmon_cfgs[3].persister.set_update_ret(ChannelMonitorUpdateStatus::InProgress);

0 commit comments

Comments
 (0)