| 963 | } |
| 964 | |
| 965 | static struct command_result * |
| 966 | datastore_list_fail(struct command *cmd, |
| 967 | const char *method, |
| 968 | const char *buf, |
| 969 | const jsmntok_t *error, |
| 970 | struct open_info *info) |
| 971 | { |
| 972 | /* Oops, something's broken */ |
| 973 | plugin_log(cmd->plugin, LOG_BROKEN, |
| 974 | "`datastore` list failed: %.*s", |
| 975 | json_tok_full_len(error), |
| 976 | json_tok_full(buf, error)); |
| 977 | |
| 978 | /* Figure out what our funds are... same flow |
| 979 | * as with openchannel2 callback. */ |
| 980 | return funding_queue_join(cmd, info); |
| 981 | } |
| 982 | |
| 983 | static struct command_result * |
| 984 | datastore_list_success(struct command *cmd, |
nothing calls this directly
no test coverage detected