]> git.bitcoin.ninja Git - rust-lightning/commit
Add a test of an HTLC being fulfilled and then later failed 2021-10-payment-id-in-monitors
authorMatt Corallo <git@bluematt.me>
Wed, 20 Oct 2021 23:40:09 +0000 (23:40 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 22 Oct 2021 18:41:42 +0000 (18:41 +0000)
commit7af5d127ac1bf403e81149250993b8a90b4fae04
treed38fa2e9eacb08f15f996e5ee7f0d8b559ba6507
parent251eb3bda881f4875c02a6e6edf8f5649f2956b2
Add a test of an HTLC being fulfilled and then later failed

Peers probably shouldn't do this, but if they want to give us free
money, we should take it and not generate any spurious events.
lightning/src/ln/payment_tests.rs