diff --git a/src/libs/utils.js b/src/libs/utils.js index 27c5bf96..6645bbfe 100644 --- a/src/libs/utils.js +++ b/src/libs/utils.js @@ -247,10 +247,11 @@ export async function sign(device, chainId, signerAddress, messages, fee, memo, throw new Error('Please install keplr extension') } await window.keplr.enable(chainId) - const signer = window.getOfflineSigner(chainId) if (isEvmosBasedChain(chainId)) { + const signer = window.getOfflineSigner(chainId) client = await SigningKeplerEthermintClient.offline(signer) } else { + const signer = window.getOfflineSignerOnlyAmino(chainId) client = await SigningStargateClient.offline(signer) } }