]> git.bitcoin.ninja Git - rust-lightning/commit
Add test_fail_htlc_backwards_with_reason
authorAlec Chen <alecchendev@gmail.com>
Tue, 17 Jan 2023 04:50:58 +0000 (22:50 -0600)
committerAlec Chen <alecchendev@gmail.com>
Wed, 25 Jan 2023 21:36:04 +0000 (15:36 -0600)
commit48aef2da9e8e3929516fe5b55d8e6ef486804ce9
treed22713a47d5335d32b6396f989983741b1a1b7d0
parent95892e37daeda1fd8e89b3e97e6e4e5cdba99d52
Add test_fail_htlc_backwards_with_reason

Add a test for newly added function failing back a basic payment
and ensuring the intended failure code and data are sent back
to the peer.
lightning/src/ln/onion_route_tests.rs