]> git.bitcoin.ninja Git - rust-lightning/commit
Replace `build_first_hop_failure_packet` with `HTLCFailReason`
authorMatt Corallo <git@bluematt.me>
Thu, 1 Dec 2022 23:30:04 +0000 (23:30 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 6 Dec 2022 20:00:44 +0000 (20:00 +0000)
commit01d299ecdb513dac3a4bcba4a3e53c3e49c8fcc6
tree3ab3a602519ffcd141c26a5db1bd854450fd6cdb
parent6daf62fea3399061b2bd55da7e7e129186e4bd09
Replace `build_first_hop_failure_packet` with `HTLCFailReason`

This ensures we always hit our new debug assertions while building
failure packets in the immediately-fail pipeline while processing
an inbound HTLC.
lightning/src/ln/channelmanager.rs
lightning/src/ln/onion_utils.rs