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

Function psbt_output_set_unknown

bitcoin/psbt.c:764–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762}
763
764void psbt_output_set_unknown(const tal_t *ctx,
765 struct wally_psbt_output *out,
766 const u8 *key,
767 const void *value,
768 size_t value_len)
769{
770 map_replace(ctx, &out->unknowns, key, value, value_len);
771}
772
773/* Use the destructor to free the wally_tx */
774static void wally_tx_destroy(struct wally_tx *wtx)

Callers 2

Calls 1

map_replaceFunction · 0.85

Tested by

no test coverage detected