Skip to content

Commit

Permalink
numSelected가 ledger 계정이 아닐 경우 evm 체인을 무시하는 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunnini committed Oct 14, 2024
1 parent 9de7f18 commit 00dafae
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions apps/extension/src/pages/register/enable-chains/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -716,10 +716,14 @@ export const EnableChainsScene: FunctionComponent<{
"eth-key-sign"
));

if (
(fallbackEthereumLedgerApp && isEthermintLike) ||
(!fallbackEthereumLedgerApp && !isEthermintLike)
) {
if (keyType === "ledger") {
if (
(fallbackEthereumLedgerApp && isEthermintLike) ||
(!fallbackEthereumLedgerApp && !isEthermintLike)
) {
numSelected++;
}
} else {
numSelected++;
}
}
Expand Down

0 comments on commit 00dafae

Please sign in to comment.