Skip to content

Commit 3eda071

Browse files
committed
f expand test
1 parent 42a6d65 commit 3eda071

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lightning/src/ln/reload_tests.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,11 @@ fn do_test_partial_claim_before_restart(persist_both_monitors: bool) {
960960
nodes[0].node.handle_update_fulfill_htlc(nodes[2].node.get_our_node_id(), &cs_updates.update_fulfill_htlcs[0]);
961961
commitment_signed_dance!(nodes[0], nodes[2], cs_updates.commitment_signed, false, true);
962962
expect_payment_sent!(nodes[0], payment_preimage);
963+
964+
// Ensure that the remaining channel is fully operation and not blocked (and that after a
965+
// cycle of commitment updates the payment preimage is ultimately pruned).
966+
send_payment(&nodes[0], &[&nodes[2], &nodes[3]], 100_000);
967+
assert!(!get_monitor!(nodes[3], chan_id_not_persisted).get_stored_preimages().contains_key(&payment_hash));
963968
}
964969
}
965970

0 commit comments

Comments
 (0)