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

Function acquire_change_address

plugins/spender/multifundchannel.c:1213–1223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1211}
1212
1213static struct command_result *
1214acquire_change_address(struct multifundchannel_command *mfc)
1215{
1216 struct out_req *req;
1217 req = jsonrpc_request_start(mfc->cmd->plugin, mfc->cmd,
1218 "newaddr",
1219 &after_newaddr, &mfc_forward_error,
1220 mfc);
1221 json_add_string(req->js, "addresstype", "bech32");
1222 return send_outreq(mfc->cmd->plugin, req);
1223}
1224
1225static struct command_result *
1226handle_mfc_change(struct multifundchannel_command *mfc)

Callers 1

handle_mfc_changeFunction · 0.85

Calls 2

json_add_stringFunction · 0.50
send_outreqFunction · 0.50

Tested by

no test coverage detected