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

Function mw_sign_and_send

plugins/spender/multiwithdraw.c:628–643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626 struct multiwithdraw_command *mw);
627
628static struct command_result *
629mw_sign_and_send(struct multiwithdraw_command *mw)
630{
631 struct out_req *req;
632
633 plugin_log(mw->cmd->plugin, LOG_DBG,
634 "multiwithdraw %"PRIu64": signpsbt.", mw->id);
635
636 req = jsonrpc_request_start(mw->cmd->plugin, mw->cmd,
637 "signpsbt",
638 &mw_after_signpsbt,
639 &mw_forward_error,
640 mw);
641 json_add_psbt(req->js, "psbt", mw->psbt);
642 return send_outreq(mw->cmd->plugin, req);
643}
644
645static struct command_result *
646mw_after_signpsbt(struct command *cmd,

Callers 1

mw_load_outputsFunction · 0.85

Calls 3

json_add_psbtFunction · 0.85
plugin_logFunction · 0.50
send_outreqFunction · 0.50

Tested by

no test coverage detected