Skip to content

Commit 3dc3d1b

Browse files
authored
fix(core): fix OK-22771 (#470)
1 parent 5206e9d commit 3dc3d1b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/embed/firmware/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#define ONEKEY_VERSION_MAJOR 4
1212
#define ONEKEY_VERSION_MINOR 5
13-
#define ONEKEY_VERSION_PATCH 0
13+
#define ONEKEY_VERSION_PATCH 1
1414
#define ONEKEY_VERSION_BUILD 0
1515

16-
#define ONEKEY_VERSION "4.5.0"
16+
#define ONEKEY_VERSION "4.5.1"

core/src/apps/ethereum/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def get_color_and_icon(chain_id: int | None):
182182
if chain_id is None:
183183
return lv.color_hex(0xD2D2D2), "A:/res/evm-none.png"
184184
network: EthereumNetworkInfo | None = networks.by_chain_id(chain_id)
185-
if network:
185+
if network and network is not networks.UNKNOWN_NETWORK:
186186
return lv.color_hex(network.primary_color), f"A:/res/{network.icon}"
187187
else:
188188
return lv.color_hex(0xD2D2D2), "A:/res/evm-none.png"

0 commit comments

Comments
 (0)