From 3c5b04893f0c087d10b1e234b3fe65455e25401a Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 4 Aug 2022 23:39:08 -0400 Subject: [PATCH] *Use ERR_INVALID_CHAIN --- src/rpc/common.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpc/common.ts b/src/rpc/common.ts index fd5f57c..56e37ba 100644 --- a/src/rpc/common.ts +++ b/src/rpc/common.ts @@ -4,6 +4,7 @@ import { maybeMapChainId, reverseMapChainId } from "../util.js"; import { Connection } from "@solana/web3.js"; import { getAat, getPocketServer } from "../rpc.js"; import config, { usePocketGateway } from "../config.js"; +import { ERR_INVALID_CHAIN } from "../error.js"; type RpcProviderMethod = (method: string, params: Array) => Promise;