Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pyln: Fix listfunds call defaulting to spent=False
The semantics don't change, since `lightningd` will use false as default as well, however setting it to something other than `None` causes the RPC library to include the parameter in the query, and since the parameter was introduced only in 0.9.3 and pyln may be used with older versions this then results in an error about an unknown parameter. Setting this to `None` makes sure pyln filters out the argument before calling. Changelog-Fixed: pyln: Fixed an error when calling `listfunds` with an older c-lightning version causing an error about an unknown `spent` parameter
- Loading branch information