fix: beacon url is not used on the client side
This commit is contained in:
parent
8244f766ae
commit
f353b3e102
|
@ -16,7 +16,6 @@ import { equalBytes } from "@noble/curves/abstract/utils.js";
|
|||
|
||||
interface Config extends BaseClientOptions {
|
||||
prover: IClientProver;
|
||||
beaconUrl: string;
|
||||
provider: IVerifyingProviderConstructor;
|
||||
rpcHandler: Function;
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue