]> git.bitcoin.ninja Git - rust-lightning/commit
Add utils to handle HTLC handling failure reason
authorjurvis <hello@jurvis.co>
Tue, 19 Jul 2022 01:32:05 +0000 (20:32 -0500)
committerjurvis <hello@jurvis.co>
Mon, 25 Jul 2022 17:26:38 +0000 (10:26 -0700)
commit5bccd2eee2a5756b32fa1bc18557978b4a5a95c1
treeaa849669eeaa352b97ecd3fc51b5c05a31ade9ec
parent17e6c374c513f2eca810fa4e931be65f0d4fc29f
Add utils to handle HTLC handling failure reason

We add `HTLCHandlingFailedConditions` to express the failure parameters,
that will be enforced by a new macro, `expect_pending_htlcs_forwardable_conditions`.
lightning/src/ln/functional_test_utils.rs