]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Drop stale comment about a rescan that doesn't happen in tests
authorMatt Corallo <git@bluematt.me>
Wed, 30 Sep 2020 19:17:33 +0000 (15:17 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 2 Oct 2020 16:36:46 +0000 (12:36 -0400)
lightning/src/ln/functional_tests.rs

index 59b0d071f17c6f7728f8a46ee6b36e90bfa9bcfe..40c6bda8bb788e5700286114e0c922d6dce7ebb7 100644 (file)
@@ -5228,7 +5228,7 @@ fn test_onchain_to_onchain_claim() {
                assert_eq!(b_txn[2].input[0].witness.clone().last().unwrap().len(), OFFERED_HTLC_SCRIPT_WEIGHT);
                assert!(b_txn[2].output[0].script_pubkey.is_v0_p2wsh()); // revokeable output
                assert_ne!(b_txn[2].lock_time, 0); // Timeout tx
-               check_spends!(b_txn[0], c_txn[1]); // timeout tx on C remote commitment tx, issued by ChannelMonitor, * 2 due to block rescan
+               check_spends!(b_txn[0], c_txn[1]); // timeout tx on C remote commitment tx, issued by ChannelMonitor
                assert_eq!(b_txn[0].input[0].witness.clone().last().unwrap().len(), ACCEPTED_HTLC_SCRIPT_WEIGHT);
                assert!(b_txn[0].output[0].script_pubkey.is_v0_p2wpkh()); // direct payment
                assert_ne!(b_txn[2].lock_time, 0); // Timeout tx