prusnak / suez

Tool for pretty printing and optimizing Lightning Network channels.
GNU General Public License v3.0
78 stars 20 forks source link

c-lightning: fix crash when resolved_time missing in forwards #17

Closed kristapsk closed 3 years ago

kristapsk commented 3 years ago

resolved_time was added to listforwards only in c-lightning v0.7.1. If your node is originally older, even after upgrading you will miss the field for old forwards, which will result in KeyError.

prusnak commented 3 years ago

Thanks!