Fix a bug related to evm chain and ledger

This commit is contained in:
Thunnini 2022-12-21 01:55:40 +09:00
parent aec2bc7fd3
commit 1536977473

View File

@ -127,6 +127,12 @@ export default function VerificationPage() {
return true;
}
if (walletKey) {
if (walletKey.isLedgerNano && chain.isEthermintLike) {
return true;
}
}
for (const registeredChain of registeredChainList) {
if (
chain.prefix === registeredChain.bech32_prefix &&
@ -214,6 +220,8 @@ export default function VerificationPage() {
);
setRegisteredChainList(addressesQueryResponse.data.addresses);
} else {
setRegisteredChainList([]);
}
} catch (error) {
if (error instanceof Error) {