Non-fatal: watchman may not be ready yet; poll anyway. */
| 225 | |
| 226 | /* Non-fatal: watchman may not be ready yet; poll anyway. */ |
| 227 | static struct command_result *chaininfo_err(struct command *cmd, |
| 228 | const char *method UNUSED, |
| 229 | const char *buf, |
| 230 | const jsmntok_t *result, |
| 231 | void *unused UNUSED) |
| 232 | { |
| 233 | plugin_log(cmd->plugin, LOG_DBG, |
| 234 | "chaininfo RPC failed: %.*s", |
| 235 | json_tok_full_len(result), json_tok_full(buf, result)); |
| 236 | return chaininfo_ack(cmd, method, buf, result, unused); |
| 237 | } |
| 238 | |
| 239 | /* Got chain state from bcli: optionally roll back, then forward to watchman. */ |
| 240 | static struct command_result *chaininfo_getchaininfo_done(struct command *cmd, |
nothing calls this directly
no test coverage detected