| 465 | } |
| 466 | |
| 467 | void psbt_input_mark_ours(const tal_t *ctx, |
| 468 | struct wally_psbt_input *input) |
| 469 | { |
| 470 | u8 *key = psbt_make_key(tmpctx, PSBT_TYPE_INPUT_MARKER, NULL); |
| 471 | beint16_t bev = cpu_to_be16(1); |
| 472 | |
| 473 | psbt_input_set_unknown(ctx, input, key, &bev, sizeof(bev)); |
| 474 | } |
| 475 | |
| 476 | bool psbt_input_is_ours(const struct wally_psbt_input *input) |
| 477 | { |
no test coverage detected