arshbot / lnt

Lightning Network Tools -- better lncli for node admins
MIT License
5 stars 0 forks source link

KeyError: 'identity_pubkey' #30

Open arshbot opened 4 years ago

arshbot commented 4 years ago

Sometimes I see this on lnt --config ~/.lnt/prod.lnt.conf view channel --max LOCAL/CAP

Traceback (most recent call last):
  File "/home/harshagoli/.local/bin/lnt", line 10, in <module>
    sys.exit(main())
  File "/home/harshagoli/.local/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/harshagoli/.local/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/harshagoli/.local/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/harshagoli/.local/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/harshagoli/.local/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/harshagoli/.local/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/harshagoli/.local/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/harshagoli/.local/lib/python3.7/site-packages/lnt/cli.py", line 173, in channel
    cmd_view.channel(ctx)
  File "/home/harshagoli/.local/lib/python3.7/site-packages/lnt/commands/view.py", line 68, in channel
    loop.run_until_complete(asyncio.gather(*async_tasks))
  File "/usr/lib/python3.7/asyncio/base_events.py", line 579, in run_until_complete
    return future.result()
  File "/home/harshagoli/.local/lib/python3.7/site-packages/lnt/commands/view.py", line 49, in get_chan_info_chores
    if assumed_peer == self_info['identity_pubkey']:
KeyError: 'identity_pubkey'