Skip to content

Commit b627aa6

Browse files
committed
Drop stale comment about a rescan that doesn't happen in tests
1 parent e48f8e3 commit b627aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/functional_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5228,7 +5228,7 @@ fn test_onchain_to_onchain_claim() {
52285228
assert_eq!(b_txn[2].input[0].witness.clone().last().unwrap().len(), OFFERED_HTLC_SCRIPT_WEIGHT);
52295229
assert!(b_txn[2].output[0].script_pubkey.is_v0_p2wsh()); // revokeable output
52305230
assert_ne!(b_txn[2].lock_time, 0); // Timeout tx
5231-
check_spends!(b_txn[0], c_txn[1]); // timeout tx on C remote commitment tx, issued by ChannelMonitor, * 2 due to block rescan
5231+
check_spends!(b_txn[0], c_txn[1]); // timeout tx on C remote commitment tx, issued by ChannelMonitor
52325232
assert_eq!(b_txn[0].input[0].witness.clone().last().unwrap().len(), ACCEPTED_HTLC_SCRIPT_WEIGHT);
52335233
assert!(b_txn[0].output[0].script_pubkey.is_v0_p2wpkh()); // direct payment
52345234
assert_ne!(b_txn[2].lock_time, 0); // Timeout tx

0 commit comments

Comments
 (0)