diff --git a/src/constants.h b/src/constants.h index 40b9708..4a83dac 100644 --- a/src/constants.h +++ b/src/constants.h @@ -1,8 +1,5 @@ #pragma once -#define BIP32_PUBKEY_VERSION_MAINNET 0x0488B21E -#define BIP32_PUBKEY_VERSION_TESTNET 0x043587CF - /** * Instruction class of the Bitcoin application. */ diff --git a/src/ui/menu.c b/src/ui/menu.c index 68d5284..3e3f5b5 100644 --- a/src/ui/menu.c +++ b/src/ui/menu.c @@ -21,6 +21,8 @@ #include "../globals.h" #include "menu.h" +#define BIP32_PUBKEY_VERSION_MAINNET 0x0488B21E +#define BIP32_PUBKEY_VERSION_TESTNET 0x043587CF void ui_menu_main() { if (BIP32_PUBKEY_VERSION == BIP32_PUBKEY_VERSION_MAINNET) { // mainnet @@ -28,4 +30,4 @@ void ui_menu_main() { } else if (BIP32_PUBKEY_VERSION == BIP32_PUBKEY_VERSION_TESTNET) { // testnet ui_menu_main_flow_bitcoin_testnet(); } -} +} \ No newline at end of file