Called after we've unreserved the inputs. */
| 426 | |
| 427 | /* Called after we've unreserved the inputs. */ |
| 428 | static struct command_result *unreserve_done(struct command *cmd, |
| 429 | const char *method, |
| 430 | const char *buf, |
| 431 | const jsmntok_t *result, |
| 432 | struct unreleased_tx *utx) |
| 433 | { |
| 434 | struct json_stream *out; |
| 435 | |
| 436 | out = jsonrpc_stream_success(cmd); |
| 437 | json_add_hex_talarr(out, "unsigned_tx", linearize_wtx(tmpctx, utx->tx)); |
| 438 | json_add_txid(out, "txid", &utx->txid); |
| 439 | |
| 440 | return command_finished(cmd, out); |
| 441 | } |
| 442 | |
| 443 | static struct command_result *param_unreleased_txid(struct command *cmd, |
| 444 | const char *name, |
nothing calls this directly
no test coverage detected