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:
Mark Beckwith
2018-08-15 10:16:02 -05:00
committed by Rusty Russell
parent fa55e2cab0
commit a3178b8177
17 changed files with 189 additions and 320 deletions

View File

@@ -769,8 +769,8 @@ static void json_fund_channel(struct command *cmd,
fc->uc = NULL;
wtx_init(cmd, &fc->wtx);
if (!param(fc->cmd, buffer, params,
p_req_tal("id", json_tok_pubkey, &id),
p_req_tal("satoshi", json_tok_tok, &sattok),
p_req("id", json_tok_pubkey, &id),
p_req("satoshi", json_tok_tok, &sattok),
NULL))
return;