Change PaymentPathFailed's optional network update to a Failure enum
authorValentine Wallace <vwallace@protonmail.com>
Mon, 13 Feb 2023 22:55:42 +0000 (17:55 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Sat, 25 Feb 2023 21:13:42 +0000 (16:13 -0500)
commit1dcb3ecb6c6f145bd22a64ce149e939c75aeae3d
tree20132bc20497307dc1aee5cb6c2729b250f747db
parent8d686d83cb0feeff4b8b0a53613f0e592738fbd8
Change PaymentPathFailed's optional network update to a Failure enum

This let us capture the errors when we fail without committing to an HTLC vs
failing via update_fail.
lightning-background-processor/src/lib.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onion_route_tests.rs
lightning/src/ln/outbound_payment.rs
lightning/src/ln/payment_tests.rs
lightning/src/util/events.rs
pending_changelog/2043.txt