-
Notifications
You must be signed in to change notification settings - Fork 871
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
Error parsing boolean propriety "true" when run the fund command rpc #3048
Comments
:-) Can you try with https://github.com/darosior/lightning/tree/fix_fundchannel ? |
Thanks, I'm finding inside the code this method for convert the value into json, so now I try your fix. :) Thanks for simplifying my life with the C :)
What? 😄 |
Do you get this error on my branch ? |
JSON string:
JSON bool:
|
We could handle string too |
the problem is in your JSON composer, not c-lightning. what are you using to generate this JSON? can you post the fundchannel command you ran to get this error? |
He does a Java wrapper for the RPC call, that's why he posted the JSON. |
you should file an issue on the Java wrapper project, this is a bug on their end. |
I'm sorry if I responding only now, but yesterday I wasn't in front of the PC. So, I will recapitulation of this issue.
I just wanted to ask a question and not to cause havoc here, I apologize. ps: if the issue didn't not util, can be close it |
It's ok, good to know that you solved it easily :-). I think this can be close then. |
@darosior yes, I'm closing it |
From documentation
Issue and Steps to Reproduce
When go running the command RPC fundchannel with the optional boolean parameter I getting this error when run with "true"
This is the command request
and I have this response
The response with my java exception is
getinfo
outputThe text was updated successfully, but these errors were encountered: