mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
param: remove old callback code
Cleaned up remaining code. Reduced comment noise. Reverted macro names back to the original. Signed-off-by: Mark Beckwith <wythe@intrig.com>
This commit is contained in:
committed by
Rusty Russell
parent
fa55e2cab0
commit
a3178b8177
@@ -43,9 +43,9 @@ static void json_ping(struct command *cmd,
|
||||
struct pubkey *id;
|
||||
|
||||
if (!param(cmd, buffer, params,
|
||||
p_req_tal("id", json_tok_pubkey, &id),
|
||||
p_opt_def_tal("len", json_tok_number, &len, 128),
|
||||
p_opt_def_tal("pongbytes", json_tok_number, &pongbytes, 128),
|
||||
p_req("id", json_tok_pubkey, &id),
|
||||
p_opt_def("len", json_tok_number, &len, 128),
|
||||
p_opt_def("pongbytes", json_tok_number, &pongbytes, 128),
|
||||
NULL))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user