Skip to content

Commit

Permalink
btchip_context: change bip44_coin_type type to prevent overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sgliner-ledger committed Mar 4, 2024
1 parent 61f525d commit 91b8cec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/btchip_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ typedef enum btchip_coin_kind_e {
} btchip_coin_kind_t;

typedef struct btchip_altcoin_config_s {
unsigned short bip44_coin_type;
unsigned short bip44_coin_type2;
unsigned int bip44_coin_type;
unsigned int bip44_coin_type2;
unsigned short p2pkh_version;
unsigned short p2sh_version;
unsigned char family;
Expand Down

0 comments on commit 91b8cec

Please sign in to comment.