1
0

Add extra state to distinguish shutdown negotiation from post-

negotiation, where channel should not be reestablished. See #6182
This commit is contained in:
ThomasV
2020-05-29 11:30:08 +02:00
parent 680502cfb8
commit 2adbbee5fe
3 changed files with 49 additions and 30 deletions

View File

@@ -90,13 +90,20 @@ class MockBlockchain:
class MockWallet:
def set_label(self, x, y):
pass
def save_db(self):
pass
def add_transaction(self, tx):
pass
def is_lightning_backup(self):
return False
class MockLNWallet(Logger, NetworkRetryManager[LNPeerAddr]):
def __init__(self, *, local_keypair: Keypair, chans: Iterable['Channel'], tx_queue):
Logger.__init__(self)