Skip to content

Commit db75b98

Browse files
committed
f comment and spurious excess test
1 parent ec2bd55 commit db75b98

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightning/src/ln/monitor_tests.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ fn test_balances_on_local_commitment_htlcs() {
755755

756756
#[test]
757757
fn test_no_preimage_inbound_htlc_balances() {
758-
// Tests that MaybePreimageCLaimableHTLCAwaitingTImeouts are generated for inbound HTLCs for
758+
// Tests that MaybePreimageClaimableHTLCAwaitingTimeouts are generated for inbound HTLCs for
759759
// which we do not have a preimage.
760760
let chanmon_cfgs = create_chanmon_cfgs(2);
761761
let node_cfgs = create_node_cfgs(2, &chanmon_cfgs);
@@ -905,7 +905,6 @@ fn test_no_preimage_inbound_htlc_balances() {
905905
confirmation_height: as_timeout_claimable_height,
906906
}]),
907907
sorted_vec(nodes[0].chain_monitor.chain_monitor.get_monitor(funding_outpoint).unwrap().get_claimable_balances()));
908-
assert!(nodes[0].node.get_and_clear_pending_events().is_empty());
909908

910909
mine_transaction(&nodes[0], &bs_htlc_timeout_claim[0]);
911910
assert_eq!(sorted_vec(vec![Balance::ClaimableAwaitingConfirmations {

0 commit comments

Comments
 (0)