]> git.bitcoin.ninja Git - rust-lightning/commit
Refactor outgoing channel lookup out from decode_update_add_htlc_onion
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Wed, 24 Jan 2024 01:14:14 +0000 (17:14 -0800)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Wed, 27 Mar 2024 21:28:03 +0000 (14:28 -0700)
commitb9ca5788f5b1caca660004fe94a64017ae8a7b5e
tree0626382ee26e6c3fcc2e16afa6b339c81ddb465b
parentcc1651b0bebee6fe201b587e6771b10550a98823
Refactor outgoing channel lookup out from decode_update_add_htlc_onion

In the future, we plan to complete remove `decode_update_add_htlc_onion`
and replace it with a batched variant. This refactor, while improving
readability in its current form, does not feature any functional changes
and allows us to reuse most of the logic in the batched variant.
lightning/src/ln/channelmanager.rs