hsmd: remove deprecated init v2
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
committed by
Christian Decker
parent
ef40b2face
commit
af41cd5192
@@ -704,7 +704,6 @@ static struct io_plan *handle_client(struct io_conn *conn, struct client *c)
|
||||
case WIRE_HSMD_NODE_ANNOUNCEMENT_SIG_REPLY:
|
||||
case WIRE_HSMD_SIGN_WITHDRAWAL_REPLY:
|
||||
case WIRE_HSMD_SIGN_INVOICE_REPLY:
|
||||
case WIRE_HSMD_INIT_REPLY_V2:
|
||||
case WIRE_HSMD_INIT_REPLY_V4:
|
||||
case WIRE_HSMD_DERIVE_SECRET_REPLY:
|
||||
case WIRE_HSMSTATUS_CLIENT_BAD_REQUEST:
|
||||
|
||||
@@ -19,12 +19,6 @@ msgdata,hsmd_init,hsm_wire_min_version,u32,
|
||||
msgdata,hsmd_init,hsm_wire_max_version,u32,
|
||||
|
||||
#include <common/bip32.h>
|
||||
# DEPRECATED after 23.05, remove in two versions!
|
||||
msgtype,hsmd_init_reply_v2,113
|
||||
msgdata,hsmd_init_reply_v2,node_id,node_id,
|
||||
msgdata,hsmd_init_reply_v2,bip32,ext_key,
|
||||
msgdata,hsmd_init_reply_v2,bolt12,pubkey,
|
||||
|
||||
# Sorry: I should have put version in v2 :(
|
||||
msgtype,hsmd_init_reply_v4,114
|
||||
# This gets upgraded when the wire protocol changes in incompatible
|
||||
|
||||
|
@@ -157,7 +157,6 @@ bool hsmd_check_client_capabilities(struct hsmd_client *client,
|
||||
case WIRE_HSMD_NODE_ANNOUNCEMENT_SIG_REPLY:
|
||||
case WIRE_HSMD_SIGN_WITHDRAWAL_REPLY:
|
||||
case WIRE_HSMD_SIGN_INVOICE_REPLY:
|
||||
case WIRE_HSMD_INIT_REPLY_V2:
|
||||
case WIRE_HSMD_INIT_REPLY_V4:
|
||||
case WIRE_HSMSTATUS_CLIENT_BAD_REQUEST:
|
||||
case WIRE_HSMD_SIGN_COMMITMENT_TX_REPLY:
|
||||
@@ -2124,7 +2123,6 @@ u8 *hsmd_handle_client_message(const tal_t *ctx, struct hsmd_client *client,
|
||||
case WIRE_HSMD_NODE_ANNOUNCEMENT_SIG_REPLY:
|
||||
case WIRE_HSMD_SIGN_WITHDRAWAL_REPLY:
|
||||
case WIRE_HSMD_SIGN_INVOICE_REPLY:
|
||||
case WIRE_HSMD_INIT_REPLY_V2:
|
||||
case WIRE_HSMD_INIT_REPLY_V4:
|
||||
case WIRE_HSMSTATUS_CLIENT_BAD_REQUEST:
|
||||
case WIRE_HSMD_SIGN_COMMITMENT_TX_REPLY:
|
||||
|
||||
Reference in New Issue
Block a user