| 28 | } |
| 29 | |
| 30 | u8 *bolt12_path_id(const tal_t *ctx, |
| 31 | const struct secret *base_secret, |
| 32 | const struct sha256 *payment_hash) |
| 33 | { |
| 34 | struct secret path_secret; |
| 35 | bolt12_path_secret(base_secret, payment_hash, &path_secret); |
| 36 | |
| 37 | return (u8 *)tal_dup(ctx, struct secret, &path_secret); |
| 38 | } |
| 39 | |
| 40 | void bolt12_alias_tweak(const struct secret *base_secret, |
| 41 | const void *input, |
no test coverage detected