| 16 | } |
| 17 | |
| 18 | void fromwire_ext_key(const u8 **cursor, size_t *max, struct ext_key *bip32) |
| 19 | { |
| 20 | const u8 *in = fromwire(cursor, max, NULL, BIP32_SERIALIZED_LEN); |
| 21 | if (!in) |
| 22 | return; |
| 23 | |
| 24 | if (bip32_key_unserialize(in, BIP32_SERIALIZED_LEN, bip32) != WALLY_OK) |
| 25 | fromwire_fail(cursor, max); |
| 26 | } |
| 27 | |
| 28 | void fromwire_bip32_key_version(const u8** cursor, size_t *max, |
| 29 | struct bip32_key_version *version) |
no test coverage detected