mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 22:45:27 +01:00
lightningd: remove double-wrapped rpc_command hook.
Somehow we missed this deprecation, found by grep. Changelog-Removed: JSON API: Removed double wrapping of `rpc_command` payload in `rpc_command` JSON field (deprecated v0.8.2) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
6c33f7db65
commit
bfe342c64b
1 changed files with 0 additions and 5 deletions
|
@ -664,11 +664,6 @@ static void rpc_command_hook_serialize(struct rpc_command_hook_payload *p,
|
|||
char *key;
|
||||
json_object_start(s, "rpc_command");
|
||||
|
||||
#ifdef COMPAT_V081
|
||||
if (deprecated_apis)
|
||||
json_add_tok(s, "rpc_command", p->request, p->buffer);
|
||||
#endif
|
||||
|
||||
json_for_each_obj(i, tok, p->request) {
|
||||
key = tal_strndup(NULL, p->buffer + tok->start,
|
||||
tok->end - tok->start);
|
||||
|
|
Loading…
Add table
Reference in a new issue