| 1045 | } |
| 1046 | |
| 1047 | static struct command_result *on_commitment_revocation(struct command *cmd, |
| 1048 | const char *buf, |
| 1049 | const jsmntok_t *params) |
| 1050 | { |
| 1051 | struct out_req *req; |
| 1052 | |
| 1053 | plugin_log(cmd->plugin, LOG_DBG, "Updated `emergency.recover` state after receiving new commitment secret."); |
| 1054 | |
| 1055 | req = jsonrpc_request_start(cmd, |
| 1056 | "staticbackup", |
| 1057 | after_staticbackup, |
| 1058 | log_broken_and_complete, |
| 1059 | NULL); |
| 1060 | |
| 1061 | return send_outreq(req); |
| 1062 | } |
| 1063 | |
| 1064 | static void setup_backup_map(struct command *init_cmd, |
| 1065 | struct chanbackup *cb) |
nothing calls this directly
no test coverage detected