tchannel_db: load_data should load node_info - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 39bae1c7cf56c62725975ed5293c00f80c091f7c DIR parent 46c2d7821fb3a8e60b5a41cd46ecdc12cd1dc154 HTML Author: ThomasV <thomasv@electrum.org> Date: Sun, 11 Aug 2019 14:51:00 +0200 channel_db: load_data should load node_info Diffstat: M electrum/channel_db.py | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) --- DIR diff --git a/electrum/channel_db.py b/electrum/channel_db.py t@@ -518,6 +518,10 @@ class ChannelDB(SqlDB): for x in c: ci = ChannelInfo(*x) self._channels[ci.short_channel_id] = ci + c.execute("""SELECT * FROM node_info""") + for x in c: + ni = NodeInfo(*x) + self._nodes[ni.node_id] = ni c.execute("""SELECT * FROM policy""") for x in c: p = Policy(*x)