| 183 | } |
| 184 | |
| 185 | bool derive_shaseed(const struct secret *seed, struct sha256 *shaseed) |
| 186 | { |
| 187 | struct keys keys; |
| 188 | |
| 189 | derive_keys(seed, &keys); |
| 190 | |
| 191 | *shaseed = keys.shaseed; |
| 192 | return true; |
| 193 | } |
| 194 | |
| 195 | bool derive_funding_key(const struct secret *seed, |
| 196 | struct pubkey *funding_pubkey, |