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

Function psbt_to_tx_sigs_msg

openingd/dualopend.c:1051–1062  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1049}
1050
1051static u8 *psbt_to_tx_sigs_msg(const tal_t *ctx,
1052 struct state *state,
1053 const struct wally_psbt *psbt)
1054{
1055 const struct witness **ws =
1056 psbt_to_witnesses(tmpctx, psbt, state->our_role, -1);
1057
1058 return towire_tx_signatures(ctx, &state->channel_id,
1059 &state->tx_state->funding.txid,
1060 ws,
1061 NULL);
1062}
1063
1064static void report_channel_hsmd(const struct state *state,
1065 const struct tx_state *tx_state)

Callers 2

handle_send_tx_sigsFunction · 0.85
do_reconnect_danceFunction · 0.85

Calls 1

psbt_to_witnessesFunction · 0.85

Tested by

no test coverage detected