Called after we've unreserved the inputs. */
| 412 | |
| 413 | /* Called after we've unreserved the inputs. */ |
| 414 | static struct command_result *unreserve_done(struct command *cmd, |
| 415 | const char *buf, |
| 416 | const jsmntok_t *result, |
| 417 | struct unreleased_tx *utx) |
| 418 | { |
| 419 | struct json_stream *out; |
| 420 | |
| 421 | out = jsonrpc_stream_success(cmd); |
| 422 | json_add_hex_talarr(out, "unsigned_tx", linearize_wtx(tmpctx, utx->tx)); |
| 423 | json_add_txid(out, "txid", &utx->txid); |
| 424 | |
| 425 | return command_finished(cmd, out); |
| 426 | } |
| 427 | |
| 428 | static struct command_result *param_unreleased_txid(struct command *cmd, |
| 429 | const char *name, |
nothing calls this directly
no test coverage detected