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

feeadjuster: invalid literal for int() with base 10 (CLN 22.11) #411

Open
swissrouting opened this issue Dec 5, 2022 · 1 comment
Open
Labels
bug Something isn't working

Comments

@swissrouting
Copy link

Enabled feeadjuster plugin with this config:

feeadjuster-feestrategy=median
feeadjuster-max-htlc-steps=3

See the following error in CLN logs:

2022-12-05T23:30:07.316Z INFO    plugin-feeadjuster.py: Traceback (most recent call last):
2022-12-05T23:30:07.316Z INFO    plugin-feeadjuster.py:   File \"/home/bitcoin/.local/lib/python3.9/site-packages/pyln/client/plugin.py\", line 668, in _dispatch_notification
2022-12-05T23:30:07.316Z INFO    plugin-feeadjuster.py:     self._exec_func(func, request)
2022-12-05T23:30:07.316Z INFO    plugin-feeadjuster.py:   File \"/home/bitcoin/.local/lib/python3.9/site-packages/pyln/client/plugin.py\", line 619, in _exec_func
2022-12-05T23:30:07.316Z INFO    plugin-feeadjuster.py:     ret = func(*ba.args, **ba.kwargs)
2022-12-05T23:30:07.316Z INFO    plugin-feeadjuster.py:   File \"/home/bitcoin/cl-plugins-available/plugins/feeadjuster/feeadjuster.py\", line 220, in forward_event
2022-12-05T23:30:07.316Z INFO    plugin-feeadjuster.py:     plugin.adj_balances[in_scid][\"our\"] += int(forward_event[\"in_msat\"])
2022-12-05T23:30:07.316Z INFO    plugin-feeadjuster.py: ValueError: invalid literal for int() with base 10: '100048602msat'
2022-12-05T23:30:07.316Z INFO    plugin-feeadjuster.py:

Plugins repo version: at HEAD commit 386f2f6
CLN version: 22.11

@grubles
Copy link

grubles commented Jan 7, 2023

I was running into this too.

@vincenzopalazzo vincenzopalazzo added the bug Something isn't working label Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants