| 965 | } |
| 966 | |
| 967 | static struct command_result *splice_init_get_result(struct command *cmd, |
| 968 | const char *methodname, |
| 969 | const char *buf, |
| 970 | const jsmntok_t *result, |
| 971 | struct splice_cmd *splice_cmd) |
| 972 | { |
| 973 | const jsmntok_t *tok = json_get_member(buf, result, "psbt"); |
| 974 | |
| 975 | tal_free(splice_cmd->psbt); |
| 976 | splice_cmd->psbt = json_to_psbt(splice_cmd, buf, tok); |
| 977 | |
| 978 | return continue_splice(splice_cmd->cmd, splice_cmd); |
| 979 | } |
| 980 | |
| 981 | static struct command_result *splice_init(struct command *cmd, |
| 982 | struct splice_cmd *splice_cmd, |
nothing calls this directly
no test coverage detected