Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Commit

Permalink
Remove not needed functions
Browse files Browse the repository at this point in the history
  • Loading branch information
msteiner96 committed Feb 10, 2022
1 parent 36c1029 commit 7cfc448
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
17 changes: 0 additions & 17 deletions src/helpers/keplr.ts

This file was deleted.

3 changes: 1 addition & 2 deletions src/helpers/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import { SigningCosmWasmClient } from "../cosmwasm-stargate";
import { DirectSecp256k1HdWallet } from "../proto-signing";
import { GasPrice } from "../stargate";
import { checkExtensionAndBrowser } from "./keplr";

/**
* All setup functions are using the same config pattern
Expand All @@ -33,7 +32,7 @@ interface Config {
*/
export async function setupKeplrWeb(config: Config): Promise<SigningCosmWasmClient> {
// check browser compatibility
if (!checkExtensionAndBrowser()) {
if (!window.keplr) {
throw new Error("Keplr is not supported or installed on this browser!");
}

Expand Down

0 comments on commit 7cfc448

Please sign in to comment.