plugins
plugins copied to clipboard
summary error: 'int' object has no attribute 'to_btc_str'
OS: Debian Bullseye CLN: "version": "v0.12.0"
lightning-cli summary
{ "code": -32600, "message": "Error while processing summary: 'int' object has no attribute 'to_btc_str'", "traceback": "Traceback (most recent call last):\n File "/home/XXX/.local/lib/python3.9/site-packages/pyln/client/plugin.py", line 627, in _dispatch_request\n result = self._exec_func(method.func, request)\n File "/home/XXX/.local/lib/python3.9/site-packages/pyln/client/plugin.py", line 609, in _exec_func\n return func(*ba.args, **ba.kwargs)\n File "/home/XXX/plugins/summary/summary.py", line 169, in summary\n reply['fees_collected'] = info['fees_collected_msat'].to_btc_str()\nAttributeError: 'int' object has no attribute 'to_btc_str'\n" }
@cdecker I get the same problem.