hsmd_wire: remove hsmd_derive_bip86_key and add it to hsmd_init_reply_v4
Instead of having a separate field to derive the bip86 base key, we return it in the hsmd init reply once we know that the hsm_secret is of mnemonic type
This commit is contained in:
committed by
Rusty Russell
parent
16ae5a4b50
commit
32bb0ed20e
@@ -796,14 +796,6 @@ u8 *towire_hsmd_get_channel_basepoints(const tal_t *ctx UNNEEDED, const struct n
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
u8 *towire_hsmd_derive_bip86_key(const tal_t *ctx UNNEEDED, u32 index UNNEEDED, bool is_change UNNEEDED)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
bool fromwire_hsmd_derive_bip86_key_reply(const void *p UNNEEDED, struct ext_key *bip86_base UNNEEDED)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
bool wire_sync_write(int fd UNNEEDED, const void *msg TAKES UNNEEDED)
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user