-
Notifications
You must be signed in to change notification settings - Fork 908
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
runes: fix checkrune
when method
parameter is the empty string.
#6759
runes: fix checkrune
when method
parameter is the empty string.
#6759
Conversation
b0de248
to
a708ae1
Compare
The value is specified, we pass the empty string You can check the test
|
|
Add test `test_rune_method_not_equal_and_method_empty` that reproduces issue ElementsProject#6725. This fails currently, so next commit fix it up. Error: ``` > with pytest.raises(RpcError, match='Not permitted: method not present'): E Failed: DID NOT RAISE <class 'pyln.client.lightning.RpcError'> tests/test_runes.py:605: Failed ```
This fix ElementsProject#6725. Changelog-Fixed: fix `checkrune` when `method` parameter is the empty string.
a708ae1
to
f0f9bb2
Compare
@tonyaldon Great catch. Thanks for the fix. ACK f0f9bb2. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK f0f9bb2
ae94be4
into
ElementsProject:master
This fix #6725.