| 18 | } |
| 19 | |
| 20 | void fromwire_secrets(const u8 **ptr, size_t *max, struct secrets *s) |
| 21 | { |
| 22 | fromwire_privkey(ptr, max, &s->funding_privkey); |
| 23 | fromwire_secret(ptr, max, &s->revocation_basepoint_secret); |
| 24 | fromwire_secret(ptr, max, &s->payment_basepoint_secret); |
| 25 | fromwire_secret(ptr, max, &s->delayed_payment_basepoint_secret); |
| 26 | fromwire_secret(ptr, max, &s->htlc_basepoint_secret); |
| 27 | } |
| 28 | #else /* !DEVELOPER */ |
| 29 | /* Generate code refers to this, but should never be called! */ |
| 30 | void towire_secrets(u8 **pptr, const struct secrets *s) |
nothing calls this directly
no test coverage detected