| 123 | } |
| 124 | |
| 125 | static 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 | * |
no outgoing calls
no test coverage detected