mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-05 23:24:21 +01:00
lightningd: fix db error where we can have detached peer.
An uncommitted channel should not keep the peer in the db, since the uncommitted channel isn't in the db itself. Fixes: #2367 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
26df586fbf
commit
3b587a1c6d
@@ -1510,7 +1510,6 @@ def test_restart_many_payments(node_factory):
|
||||
wait_for(lambda: 'pending' not in [p['status'] for p in n.rpc.listpayments()['payments']])
|
||||
|
||||
|
||||
@pytest.mark.xfail(strict=True)
|
||||
@unittest.skipIf(not DEVELOPER, "need dev-disconnect")
|
||||
def test_fail_unconfirmed(node_factory, bitcoind, executor):
|
||||
"""Test that if we crash with an unconfirmed connection to a known
|
||||
|
||||
Reference in New Issue
Block a user