]> git.bitcoin.ninja Git - rust-lightning/commit
Fetch latest local commitment txn via a macro in tests
authorMatt Corallo <git@bluematt.me>
Thu, 19 Mar 2020 01:30:34 +0000 (21:30 -0400)
committerMatt Corallo <git@bluematt.me>
Thu, 19 Mar 2020 23:21:36 +0000 (19:21 -0400)
commite1c1ac7576bb74678d65b34b19cd091fc0bb371e
tree99d33741af5428f856cf4af7bed13ad829c01036
parent03b5da10b70675d5103ed4845e543a668cf0918b
Fetch latest local commitment txn via a macro in tests

This makes it easier to swap out how we fetch the latest local
commitment txn in testing (which we use to check or broadcast old
states).
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/reorg_tests.rs