Fix off-by-one max witness estimate for P2WPKH StaticPaymentDescriptor
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Thu, 28 Sep 2023 16:07:10 +0000 (09:07 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Fri, 29 Sep 2023 20:46:59 +0000 (13:46 -0700)
commit3299d88595d6014dafa6f897a970330ee734e104
treedb3c78ca6b202f859eb3f105ab3e36c117eea0bb
parentfa2a2efef47b5da48ac7a239f3d8a835a7f28164
Fix off-by-one max witness estimate for P2WPKH StaticPaymentDescriptor

We were not accounting for the extra byte denoting the number of items
in the witness stack.
lightning/src/events/bump_transaction.rs
lightning/src/sign/mod.rs