]> git.bitcoin.ninja Git - rust-lightning/commit
Take multiple spent-txn to check_spends! in functional_tests 2020-03-462-nits
authorMatt Corallo <git@bluematt.me>
Wed, 4 Mar 2020 22:45:27 +0000 (17:45 -0500)
committerMatt Corallo <git@bluematt.me>
Thu, 5 Mar 2020 02:06:58 +0000 (21:06 -0500)
commit6abce8165e3e40efca0fc989fa3de29a066883e2
tree38de4dd8d8983a89cc005676a4a29935b576b3c7
parentf554c594633d73f34e927e54159088bb4e6f53ba
Take multiple spent-txn to check_spends! in functional_tests

This reintroduces a check_spends!() removed in 3d640da5c343111f538f
due to check_spends not being able to check a transaction which
spends multiple other transactions.

It also simplifies a few calls in claim_htlc_outputs_single_tx by
using check_spends!().
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs