Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
overcoin opened this issue Aug 27, 2022 · 1 comment
Open

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

overcoin opened this issue Aug 27, 2022 · 1 comment

Comments

@overcoin
Copy link

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

@manreo
Copy link
Contributor

manreo commented Jun 23, 2023

@cdecker I get the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants