mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
bc41ab2cb9
Handers of a specific form are both designed to be used as callbacks for param(), and also dispose of the command if something goes wrong. Make them return the 'struct command_result *' from command_failed(), or NULL. Renaming them just makes sense: json_tok_XXX is used for non-command-freeing parsers too. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
test | ||
.gitignore | ||
db.c | ||
db.h | ||
invoices.c | ||
invoices.h | ||
Makefile | ||
txfilter.c | ||
txfilter.h | ||
wallet.c | ||
wallet.h | ||
walletrpc.c | ||
walletrpc.h |