fix: update ProverRequestCallback type to return a promise
This commit is contained in:
parent
2a2bd1d8cc
commit
08840308f8
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue