Merge branch 'Thunnini/fix-evm-ledger-error'

This commit is contained in:
Thunnini 2022-12-21 02:04:04 +09:00
commit fd20eb3c9e

View File

@ -131,6 +131,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 &&
@ -218,6 +224,8 @@ export default function VerificationPage() {
);
setRegisteredChainList(addressesQueryResponse.data.addresses);
} else {
setRegisteredChainList([]);
}
} catch (error) {
if (error instanceof Error) {