tlnpeer: initialize new channel storage with lnworker db - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 23ece8b33b2dec3e3af8d20e30b4ff54de7fc688 DIR parent 5598b04c8bb7a3fdc96c5bc0ea6fffc4fe635297 HTML Author: ThomasV <thomasv@electrum.org> Date: Sat, 16 Jan 2021 19:04:58 +0100 lnpeer: initialize new channel storage with lnworker db Diffstat: M electrum/lnpeer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py t@@ -733,7 +733,7 @@ class Peer(Logger): "revocation_store": {}, "static_remotekey_enabled": self.is_static_remotekey(), # stored because it cannot be "downgraded", per BOLT2 } - return StoredDict(chan_dict, None, []) + return StoredDict(chan_dict, self.lnworker.db if self.lnworker else None, []) async def on_open_channel(self, payload): """Implements the channel acceptance flow.