]> git.bitcoin.ninja Git - rust-lightning/commit
Fix off-by-one in test_onchain_htlc_claim_reorg_remote_commitment
authorMatt Corallo <git@bluematt.me>
Tue, 17 May 2022 23:57:52 +0000 (23:57 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 15 Aug 2022 23:18:12 +0000 (23:18 +0000)
commite76ac333304c4080f56f7931ec555d3a1f8269af
tree4f7f46503088dc3be32d50fdaad704a3f6ea7899
parent66ced68ec652ff84b654bd50919a70f866418089
Fix off-by-one in test_onchain_htlc_claim_reorg_remote_commitment

The test intended to disconnect a transaction previously connected
but didn't disconnect enough blocks to do so, leading to it
confirming two conflicting transactions.

In the next few commits this will become an assertion failure.
lightning/src/ln/reorg_tests.rs