| 335 | } |
| 336 | |
| 337 | u8 *scriptpubkey_raw_p2tr_derkey(const tal_t *ctx, const u8 output_der[33]) |
| 338 | { |
| 339 | struct pubkey tr_key; |
| 340 | if (!pubkey_from_der(output_der, 33, &tr_key)) { |
| 341 | abort(); |
| 342 | } |
| 343 | return scriptpubkey_raw_p2tr(ctx, &tr_key); |
| 344 | } |
| 345 | |
| 346 | u8 *scriptpubkey_p2tr(const tal_t *ctx, const struct pubkey *inner_pubkey) |
| 347 | { |
nothing calls this directly
no test coverage detected