]> git.bitcoin.ninja Git - rust-lightning/commit
[tests] Correct witness len calc in StaticOutputCounterpartyPayment
authorMatt Corallo <git@bluematt.me>
Wed, 3 Feb 2021 03:45:53 +0000 (22:45 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 16 Feb 2021 17:40:06 +0000 (12:40 -0500)
commit311555a191a9fcca304044fb59c6061e6992ef68
treedd5fde5d1f3525c174fd8eb895caa4f52c6c3070
parent2088f4bec3e3389c09b97576ad165ace39e8c324
[tests] Correct witness len calc in StaticOutputCounterpartyPayment

We previously counted 35 bytes for a length + public key, but in
reality they are never larger than 34 bytes - 33 for the key and 1
for the push length.
lightning/src/ln/functional_tests.rs