Skip to content

Commit

Permalink
fix(legacy): fix OK-26529 (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyxyx authored Mar 27, 2024
1 parent 44f48fe commit cc09ce0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions legacy/firmware/polkadot/parser_impl_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cc09ce0

Please sign in to comment.