Skip to content

Commit

Permalink
feat: enable leap
Browse files Browse the repository at this point in the history
  • Loading branch information
icfor committed Mar 14, 2024
1 parent 2c26c90 commit 25a9573
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/screens/staking/lib/staking_sdk/core/cosmos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const leapNetworks = new Set(

export const cosmosWallets = new Set([
WalletId.Keplr,
// WalletId.Leap // @TODO: Enable when ready
WalletId.Leap, // @TODO: Enable when ready
]);

export const cosmosStakingNetworks = new Set([
Expand Down
4 changes: 2 additions & 2 deletions src/screens/staking/lib/staking_sdk/utils/storage.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { WalletId } from "../core/base";
import type { WalletId } from "../core/base";

const localStorageKey = "connectedWallets";

Expand All @@ -12,7 +12,7 @@ export const getConnectedWallets = (): WalletId[] => {
try {
const parsedWallets: WalletId[] = JSON.parse(connectedWallets);

return parsedWallets.filter((walletId) => walletId !== WalletId.Leap); // TODO remove this line when staking with Leap Wallet is reliable
return parsedWallets;
} catch (e) {
return [];
}
Expand Down

0 comments on commit 25a9573

Please sign in to comment.