*Use ERR_INVALID_CHAIN
This commit is contained in:
parent
65b02ea1f3
commit
3c5b04893f
|
@ -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>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue