*Use ERR_INVALID_CHAIN

This commit is contained in:
Derrick Hammer 2022-08-04 23:39:08 -04:00
parent 65b02ea1f3
commit 3c5b04893f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import { maybeMapChainId, reverseMapChainId } from "../util.js";
import { Connection } from "@solana/web3.js"; import { Connection } from "@solana/web3.js";
import { getAat, getPocketServer } from "../rpc.js"; import { getAat, getPocketServer } from "../rpc.js";
import config, { usePocketGateway } from "../config.js"; import config, { usePocketGateway } from "../config.js";
import { ERR_INVALID_CHAIN } from "../error.js";
type RpcProviderMethod = (method: string, params: Array<any>) => Promise<any>; type RpcProviderMethod = (method: string, params: Array<any>) => Promise<any>;