mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
channel_db: load_data should load node_info
This commit is contained in:
parent
46c2d7821f
commit
39bae1c7cf
1 changed files with 4 additions and 0 deletions
|
@ -518,6 +518,10 @@ class ChannelDB(SqlDB):
|
||||||
for x in c:
|
for x in c:
|
||||||
ci = ChannelInfo(*x)
|
ci = ChannelInfo(*x)
|
||||||
self._channels[ci.short_channel_id] = ci
|
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""")
|
c.execute("""SELECT * FROM policy""")
|
||||||
for x in c:
|
for x in c:
|
||||||
p = Policy(*x)
|
p = Policy(*x)
|
||||||
|
|
Loading…
Add table
Reference in a new issue