Test preimages are learned instantly in test_onchain_to_onchain_claim
authorMatt Corallo <git@bluematt.me>
Fri, 16 Jul 2021 00:21:52 +0000 (00:21 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 28 Jul 2021 17:35:09 +0000 (17:35 +0000)
commitf438778715dc41d95a211c16aef01cbea72e5b77
tree4d4ac3f28c6be77fe74e258d4a6815074e874c9a
parent8ffc2d1742ff1171a87b0410b21cbbd557ff8247
Test preimages are learned instantly in test_onchain_to_onchain_claim

test_onchain_to_onchain_claim was connecting additional blocks in
order to reach HTLC timeout and broadcast an HTLC-Timeout
transaction, resulting in it not testing whether HTLC preimages are
learned instantly in response to HTLC-Success transactions.
lightning/src/ln/functional_tests.rs