mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 14:54:26 +01:00
lightningd: close connection when HTLC addition times out.
I noticed this while debugging an issue with ACINQ, that we got upset, but didn't trigger a reconnect cycle. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Fixed: Protocol: We now close connection with a peer if adding an HTLC times out (which may be a TCP connectivity issue).
This commit is contained in:
@@ -3641,7 +3641,6 @@ def test_close_weight_estimate(node_factory, bitcoind):
|
||||
assert signed_weight + 6 >= final_estimate # 70byte signature
|
||||
|
||||
|
||||
@pytest.mark.xfail(strict=True)
|
||||
@pytest.mark.developer("needs dev_disconnect")
|
||||
def test_onchain_close_upstream(node_factory, bitcoind):
|
||||
"""https://github.com/ElementsProject/lightning/issues/4649
|
||||
|
||||
Reference in New Issue
Block a user