fix: update ProverRequestCallback type to return a promise

This commit is contained in:
Derrick Hammer 2023-07-11 04:13:44 -04:00
parent 2a2bd1d8cc
commit 08840308f8
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import * as capella from "@lodestar/types/capella";
export type ProverRequestCallback = ( export type ProverRequestCallback = (
action: string, action: string,
args?: ConsensusCommitteeHashesRequest | ConsensusCommitteePeriodRequest, args?: ConsensusCommitteeHashesRequest | ConsensusCommitteePeriodRequest,
) => any; ) => Promise<any>;
export interface IClientProver extends IProver { export interface IClientProver extends IProver {
get callback(): ProverRequestCallback; get callback(): ProverRequestCallback;