Add extra state to distinguish shutdown negotiation from post-
negotiation, where channel should not be reestablished. See #6182
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user