plugins icon indicating copy to clipboard operation
plugins copied to clipboard

summary error: 'int' object has no attribute 'to_btc_str'

Open overcoin opened this issue 2 years ago • 1 comments

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" }

overcoin avatar Aug 27 '22 07:08 overcoin

@cdecker I get the same problem.

manreo avatar Jun 23 '23 02:06 manreo