From 323fcf84a0063bdd742d9566630ac25ad3d17308 Mon Sep 17 00:00:00 2001 From: Ted Ian Osias Date: Thu, 26 Oct 2023 23:27:18 +0800 Subject: [PATCH] chore: lint menu lint fix --- src/constants.h | 3 --- src/ui/menu.c | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) 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