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

Function clone_psbt

bitcoin/psbt.c:60–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60struct wally_psbt *clone_psbt(const tal_t *ctx, struct wally_psbt *psbt)
61{
62 struct wally_psbt *clone;
63 tal_wally_start();
64 if (wally_psbt_clone_alloc(psbt, 0, &clone) != WALLY_OK)
65 abort();
66 tal_wally_end_onto(ctx, clone, struct wally_psbt);
67 return clone;
68}
69
70struct wally_psbt *new_psbt(const tal_t *ctx, const struct wally_tx *wtx)
71{

Callers 3

handle_commit_receivedFunction · 0.85
new_inflightFunction · 0.85

Calls 2

tal_wally_startFunction · 0.85
abortFunction · 0.85

Tested by

no test coverage detected