Browse Source
In the normal (peer-to-peer) path, the HTLC state prevents us fulfilling twice, but this goes out the window with onchain HTLCs. The actual assert which caught it was lightningd/pay.c:70 (payment_succeeded) in the test_htlc_in_timeout test, after the next commit. So add an assert earlier (in fulfill_our_htlc_out) and check in the one caller where it can be true. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>ppa-0.6.1
Rusty Russell
7 years ago
committed by
Christian Decker
1 changed files with 6 additions and 1 deletions
Loading…
Reference in new issue