| 617 | } |
| 618 | |
| 619 | static struct splice_script_result *make_wallet(struct splice_cmd *splice_cmd) |
| 620 | { |
| 621 | struct splice_script_result *action; |
| 622 | struct splice_cmd_action_state *state; |
| 623 | |
| 624 | action = talz(splice_cmd->actions, struct splice_script_result); |
| 625 | state = talz(splice_cmd->states, struct splice_cmd_action_state); |
| 626 | |
| 627 | action->onchain_wallet = true; |
| 628 | state->state = SPLICE_CMD_NONE; |
| 629 | |
| 630 | tal_arr_expand(&splice_cmd->actions, action); |
| 631 | tal_arr_expand(&splice_cmd->states, state); |
| 632 | |
| 633 | return action; |
| 634 | } |
| 635 | |
| 636 | static struct command_result *addpsbt_get_result(struct command *cmd, |
| 637 | const char *methodname, |
no outgoing calls
no test coverage detected