1
0

If we have proposed htlcs in a channel that was force-closed,

call lnworker.htlc_failed once the htlc_tx is deeply mined.

In the case of a forwarding, this will fail incoming htlcs.
(fixes #8547)
This commit is contained in:
ThomasV
2025-03-11 18:13:32 +01:00
parent 25e1f51f65
commit 798df671ea
5 changed files with 124 additions and 33 deletions

View File

@@ -124,6 +124,22 @@ class TestLightningWatchtower(TestLightning):
self.run_shell(['watchtower'])
class TestLightningABC(TestLightning):
agents = {
'alice': {
},
'bob': {
'lightning_listen': 'localhost:9735',
'lightning_forward_payments': 'true',
},
'carol': {
}
}
def test_fw_fail_htlc(self):
self.run_shell(['fw_fail_htlc'])
class TestLightningJIT(TestLightning):
agents = {
'alice': {