| 258 | } |
| 259 | |
| 260 | void fromwire_basepoints(const u8 **ptr, size_t *max, |
| 261 | struct basepoints *b) |
| 262 | { |
| 263 | fromwire_pubkey(ptr, max, &b->revocation); |
| 264 | fromwire_pubkey(ptr, max, &b->payment); |
| 265 | fromwire_pubkey(ptr, max, &b->htlc); |
| 266 | fromwire_pubkey(ptr, max, &b->delayed_payment); |
| 267 | } |
| 268 | |
| 269 | bool shachain_get_secret(const struct shachain *shachain, |
| 270 | u64 commit_num, |
no test coverage detected