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

Function stack_preimage

bitcoin/script.c:125–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125static u8 *stack_preimage(const tal_t *ctx, const struct preimage *preimage)
126{
127 return tal_dup_arr(ctx, u8, preimage->r, sizeof(preimage->r), 0);
128}
129
130/* Bitcoin script stack values are a special, special snowflake.
131 *

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected