]> git.bitcoin.ninja Git - rust-lightning/commit
Sanity check fees on transactions produced by the bump event handler
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Mon, 18 Sep 2023 21:07:57 +0000 (14:07 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Tue, 19 Sep 2023 18:13:44 +0000 (11:13 -0700)
commit9736c709c0c7d02c27e4280e5f2dd4085bdf1169
tree124f9ad641a01208f38b9536b92968ca2ff78fde
parent38f18ceba6fa2e67222fc43e75d9bb3561bad109
Sanity check fees on transactions produced by the bump event handler

We add a few debug assertions to ensure we don't overpay fees by 5% more
than expected.
lightning/src/events/bump_transaction.rs