From 08840308f8f0eb3560bbac4855222c8b4af46887 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 11 Jul 2023 04:13:44 -0400 Subject: [PATCH] fix: update ProverRequestCallback type to return a promise --- src/client/prover.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/prover.ts b/src/client/prover.ts index 674a8c1..7d5c915 100644 --- a/src/client/prover.ts +++ b/src/client/prover.ts @@ -10,7 +10,7 @@ import * as capella from "@lodestar/types/capella"; export type ProverRequestCallback = ( action: string, args?: ConsensusCommitteeHashesRequest | ConsensusCommitteePeriodRequest, -) => any; +) => Promise; export interface IClientProver extends IProver { get callback(): ProverRequestCallback;