]> git.bitcoin.ninja Git - rust-lightning/commit
Pass hop index in construct_onion_keys_callback
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 14 Sep 2021 16:44:19 +0000 (11:44 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 7 Oct 2021 04:31:59 +0000 (23:31 -0500)
commitf5abc93978ed2279f315ca36e8e639e9245bcbee
tree51177b0297d1683cae02ee982b8fae6ddc5e88fe
parent42bb0af11d1e2b35cc1be9cf99ff57c9b52f0004
Pass hop index in construct_onion_keys_callback

This simplifies failing route hop calculation, which will be useful for
later identifying the failing hop for PaymentFailed events.
lightning/src/ln/onion_utils.rs