fix: beacon url is not used on the client side

This commit is contained in:
Derrick Hammer 2023-07-11 04:08:46 -04:00
parent 8244f766ae
commit f353b3e102
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 0 additions and 3 deletions

View File

@ -16,7 +16,6 @@ import { equalBytes } from "@noble/curves/abstract/utils.js";
interface Config extends BaseClientOptions {
prover: IClientProver;
beaconUrl: string;
provider: IVerifyingProviderConstructor;
rpcHandler: Function;
}

View File

@ -3,13 +3,11 @@ import Prover, { IClientProver, ProverRequestCallback } from "./prover.js";
import VerifyingProvider from "./verifyingProvider.js";
function createDefaultClient(
beaconUrl: string,
proverHandler: ProverRequestCallback,
rpcHandler: Function,
): Client {
return new Client({
prover: new Prover(proverHandler),
beaconUrl,
provider: VerifyingProvider,
rpcHandler,
});