commit: adb080f
After the invoice.expiry timeouts, settle_invoice will cause CKB to be unable to retrieve funds via preimage in time.
- btc_invoice = lnd[1].addholdinvoice(expiry 5s)
- result = fiber[0].send_btc(btc_invoice)
- parse_invoice(result["incoming_invoice"]["Fiber"])
invoice.expiry = 4s
- fiber[1].send_payment(result["incoming_invoice"]["Fiber"])
send success
- sleep 10s ,wait fiber invoice == HoldTlcTimeout
- lnd[1].settle_invoice(btc_invoice)
success
- fiber[0].get_cch_order(btc_invoice)
cch order == outgoing_succeeded
expected : fiber can settle_invoice success