mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
Revert "runes: fix checkrune
when method
parameter is the empty string."
This reverts commit ae94be4ce2
.
This commit is contained in:
parent
c0782ee841
commit
03e51ae879
@ -827,10 +827,7 @@ static struct command_result *json_checkrune(struct command *cmd,
|
||||
cinfo.runes = cmd->ld->runes;
|
||||
cinfo.peer = nodeid;
|
||||
cinfo.buf = buffer;
|
||||
if (method != NULL && streq(method, ""))
|
||||
cinfo.method = NULL;
|
||||
else
|
||||
cinfo.method = method;
|
||||
cinfo.method = method;
|
||||
cinfo.params = methodparams;
|
||||
cinfo.now = time_now();
|
||||
strmap_init(&cinfo.cached_params);
|
||||
|
Loading…
Reference in New Issue
Block a user