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

Function init_changeset

openingd/dualopend.c:1127–1133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1125}
1126
1127static void init_changeset(struct tx_state *tx_state, struct wally_psbt *psbt)
1128{
1129 /* We need an empty to compare to */
1130 struct wally_psbt *empty_psbt = create_psbt(tmpctx, 0, 0, 0);
1131
1132 tx_state->changeset = psbt_get_changeset(tx_state, empty_psbt, psbt);
1133}
1134
1135static u8 *handle_channel_ready(struct state *state, u8 *msg)
1136{

Callers 3

accepter_startFunction · 0.85
opener_startFunction · 0.85
rbf_wrap_upFunction · 0.85

Calls 2

create_psbtFunction · 0.85
psbt_get_changesetFunction · 0.85

Tested by

no test coverage detected