rust-lightning/lightning
Matt Corallo 925e64228f DRY HTLC failure code in check_spend_counterparty_transaction
This extracts the HTLC-not-in-broadcasted-commitment-transaction
code from check_spend_counterparty_transaction and moves it to a
global macro, DRYing up the two very similar codepaths (fixing
some minor logging inconsistencies) in the process.

This macro will be used for local commitment transaction HTLC
failure as well in the next commit.

This commit has no functional change outside of logging.
2021-08-09 16:12:24 +00:00
..
src DRY HTLC failure code in check_spend_counterparty_transaction 2021-08-09 16:12:24 +00:00
Cargo.toml Rename no_std feature to no-std 2021-08-03 18:53:33 +02:00