From f353b3e102438fa5d0af434519e3cd1927b85d75 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 11 Jul 2023 04:08:46 -0400 Subject: [PATCH] fix: beacon url is not used on the client side --- src/client/client.ts | 1 - src/client/index.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/client/client.ts b/src/client/client.ts index 73454be..57e68b9 100644 --- a/src/client/client.ts +++ b/src/client/client.ts @@ -16,7 +16,6 @@ import { equalBytes } from "@noble/curves/abstract/utils.js"; interface Config extends BaseClientOptions { prover: IClientProver; - beaconUrl: string; provider: IVerifyingProviderConstructor; rpcHandler: Function; } diff --git a/src/client/index.ts b/src/client/index.ts index 5f26fb3..18b85fd 100644 --- a/src/client/index.ts +++ b/src/client/index.ts @@ -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, });