| 568 | } |
| 569 | |
| 570 | void *psbt_get_lightning(const struct wally_map *map, |
| 571 | const u8 proprietary_type, |
| 572 | size_t *val_len) |
| 573 | { |
| 574 | void *res; |
| 575 | u8 *key = psbt_make_key(NULL, proprietary_type, NULL); |
| 576 | res = psbt_get_unknown(map, key, val_len); |
| 577 | tal_free(key); |
| 578 | return res; |
| 579 | } |
| 580 | |
| 581 | |
| 582 | void psbt_output_set_unknown(const tal_t *ctx, |
no test coverage detected