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

Function init_changeset

openingd/dualopend.c:1513–1519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1511}
1512
1513static void init_changeset(struct tx_state *tx_state, struct wally_psbt *psbt)
1514{
1515 /* We need an empty to compare to */
1516 struct wally_psbt *empty_psbt = create_psbt(tmpctx, 0, 0, 0);
1517
1518 tx_state->changeset = psbt_get_changeset(tx_state, empty_psbt, psbt);
1519}
1520
1521static void handle_tx_abort(struct state *state, u8 *msg)
1522{

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