Skip to content

Commit cc09ce0

Browse files
authored
fix(legacy): fix OK-26529 (#543)
1 parent 44f48fe commit cc09ce0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

legacy/firmware/polkadot/parser_impl_common.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ uint16_t _getAddressType() { return __address_type; }
361361

362362
uint16_t _detectAddressType(const parser_context_t *c) {
363363
(void)c;
364+
memset(__polkadot_ticker, 0, sizeof(__polkadot_ticker));
364365
if (!strncmp(polkadot_network, "polkadot", 8)) {
365366
__polkadot_dicimal = COIN_AMOUNT_DECIMAL_PLACES;
366367
memcpy(__polkadot_ticker, COIN_TICKER, 4);

0 commit comments

Comments
 (0)