| 751 | } |
| 752 | |
| 753 | void psbt_set_lightning(const tal_t *ctx, |
| 754 | struct wally_map *map, |
| 755 | const u8 proprietary_type, |
| 756 | const void *value, |
| 757 | size_t val_len) |
| 758 | { |
| 759 | u8 *key = psbt_make_key(NULL, proprietary_type, NULL); |
| 760 | map_replace(ctx, map, key, value, val_len); |
| 761 | tal_free(key); |
| 762 | } |
| 763 | |
| 764 | void psbt_output_set_unknown(const tal_t *ctx, |
| 765 | struct wally_psbt_output *out, |
no test coverage detected