mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-15 11:59:26 +01:00
This commit adds a test for a hold invoice which is accepted off-chain, and held by the recipient until it expired and the payer force-closes the channel. With this test we demonstrate two bugs in our handling of hold invoice state in the invoice registry when we expire on chain: - Htlcs not updated: even when we've timed out, we don't update the htlc state accordingly. - Invoice can be settled: the invoice can be settled even though it's expired on chain. |
||
---|---|---|
.. | ||
channels | ||
itest | ||
mock | ||
wait | ||
bitcoind.go | ||
bitcoind_common.go | ||
bitcoind_notxindex.go | ||
btcd.go | ||
doc.go | ||
fee_service.go | ||
fee_service_test.go | ||
harness.go | ||
neutrino.go | ||
node.go | ||
timeouts.go | ||
timeouts_darwin.go | ||
timeouts_etcd.go |