MCPcopy Create free account
hub / github.com/ElementsProject/lightning / make_wallet

Function make_wallet

plugins/spender/splice.c:619–634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617}
618
619static 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
636static struct command_result *addpsbt_get_result(struct command *cmd,
637 const char *methodname,

Callers 1

addpsbt_get_resultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected