| 540 | } |
| 541 | |
| 542 | void psbt_output_mark_as_external(const tal_t *ctx, |
| 543 | struct wally_psbt_output *output) |
| 544 | { |
| 545 | u8 *key = psbt_make_key(tmpctx, PSBT_TYPE_OUTPUT_EXTERNAL, NULL); |
| 546 | beint16_t bev = cpu_to_be16(1); |
| 547 | |
| 548 | psbt_output_set_unknown(ctx, output, key, &bev, sizeof(bev)); |
| 549 | } |
| 550 | |
| 551 | bool psbt_output_to_external(const struct wally_psbt_output *output) |
| 552 | { |
no test coverage detected