]> git.bitcoin.ninja Git - rust-lightning/commit
Drop redundant .clone() in check_spends calls.
authorMatt Corallo <git@bluematt.me>
Wed, 4 Mar 2020 22:36:12 +0000 (17:36 -0500)
committerMatt Corallo <git@bluematt.me>
Thu, 5 Mar 2020 02:06:57 +0000 (21:06 -0500)
commitf554c594633d73f34e927e54159088bb4e6f53ba
tree835d70c790c99fca92a5661989a01bbc70c92740
parent9de9288100408196955b19081844d57e593af228
Drop redundant .clone() in check_spends calls.

The API to rust-bitcoin to check a transaction correctly spends
another changed some time ago, but we still have a lot of needless
.clone()s in our tests.
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/reorg_tests.rs