core-lightning/wallet/test
Rusty Russell bc41ab2cb9 param: make json_tok_ handlers all return command_result, rename to param_
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>
2018-12-20 03:22:32 +00:00
..
.gitignore wallet: move tests into test/ dir like other unit tests. 2017-12-13 22:46:10 +01:00
Makefile db: save and restore last_sent_commit correctly. 2018-09-04 14:43:27 +02:00
run-db.c wallet: put explicit hook in for fatal error testing. 2018-08-10 12:44:28 +02:00
run-wallet.c param: make json_tok_ handlers all return command_result, rename to param_ 2018-12-20 03:22:32 +00:00
test_utils.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00