Skip to content

Commit

Permalink
forced leap snap to use getOfflineSignerOnlyAmino as other signing me…
Browse files Browse the repository at this point in the history
…thods cause issues (#149)
  • Loading branch information
codingki authored Apr 25, 2024
2 parents c7e7fef + 6bcdc6c commit c690760
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/graz/src/actions/wallet/leap-metamask-snap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,7 @@ export const getMetamaskSnap = (params?: GetMetamaskSnap): Wallet => {
};

const getOfflineSignerAuto = async (chainId: string) => {
const key = await getKey(chainId);
if (key.isNanoLedger) return getOfflineSignerOnlyAmino(chainId);
return getOfflineSignerDirect(chainId);
return getOfflineSignerOnlyAmino(chainId);
};

const experimentalSuggestChain = async (..._args: Parameters<Keplr["experimentalSuggestChain"]>) => {
Expand Down

0 comments on commit c690760

Please sign in to comment.