diff --git a/legacy/firmware/polkadot/parser_impl_common.c b/legacy/firmware/polkadot/parser_impl_common.c index a5fa15dea..31d69d54d 100644 --- a/legacy/firmware/polkadot/parser_impl_common.c +++ b/legacy/firmware/polkadot/parser_impl_common.c @@ -361,6 +361,7 @@ uint16_t _getAddressType() { return __address_type; } uint16_t _detectAddressType(const parser_context_t *c) { (void)c; + memset(__polkadot_ticker, 0, sizeof(__polkadot_ticker)); if (!strncmp(polkadot_network, "polkadot", 8)) { __polkadot_dicimal = COIN_AMOUNT_DECIMAL_PLACES; memcpy(__polkadot_ticker, COIN_TICKER, 4);