| 242 | } |
| 243 | |
| 244 | void fromwire_basepoints(const u8 **ptr, size_t *max, |
| 245 | struct basepoints *b) |
| 246 | { |
| 247 | fromwire_pubkey(ptr, max, &b->revocation); |
| 248 | fromwire_pubkey(ptr, max, &b->payment); |
| 249 | fromwire_pubkey(ptr, max, &b->htlc); |
| 250 | fromwire_pubkey(ptr, max, &b->delayed_payment); |
| 251 | } |
| 252 | |
| 253 | bool shachain_get_secret(const struct shachain *shachain, |
| 254 | u64 commit_num, |
no test coverage detected