| 492 | } |
| 493 | |
| 494 | void psbt_output_mark_as_external(const tal_t *ctx, |
| 495 | struct wally_psbt_output *output) |
| 496 | { |
| 497 | u8 *key = psbt_make_key(tmpctx, PSBT_TYPE_OUTPUT_EXTERNAL, NULL); |
| 498 | beint16_t bev = cpu_to_be16(1); |
| 499 | |
| 500 | psbt_output_set_unknown(ctx, output, key, &bev, sizeof(bev)); |
| 501 | } |
| 502 | |
| 503 | bool psbt_output_to_external(const struct wally_psbt_output *output) |
| 504 | { |
no test coverage detected