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

Function psbt_output_set_unknown

bitcoin/psbt.c:582–590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580
581
582void psbt_output_set_unknown(const tal_t *ctx,
583 struct wally_psbt_output *out,
584 const u8 *key,
585 const void *value,
586 size_t value_len)
587{
588 if (!wally_map_set_unknown(ctx, &out->unknowns, key, value, value_len))
589 abort();
590}
591
592/* Use the destructor to free the wally_tx */
593static void wally_tx_destroy(struct wally_tx *wtx)

Callers 2

Calls 2

wally_map_set_unknownFunction · 0.85
abortFunction · 0.85

Tested by

no test coverage detected