Skip to content

Commit

Permalink
fixup! fixup! refactor(experimental): add getBlockProduction API
Browse files Browse the repository at this point in the history
  • Loading branch information
mcintyre94 committed Apr 24, 2023
1 parent 0322ad5 commit b01e07e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/rpc-core/src/rpc-methods/getBlockProduction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ export interface GetBlockProductionApi {
/**
* Returns recent block production information from the current or previous epoch.
*/
getBlockProduction(
getBlockProduction<TIdentity extends Base58EncodedAddress>(
config: Readonly<{
commitment?: Commitment;
identity: Base58EncodedAddress;
identity: TIdentity;
range?: SlotRange;
}>
): GetBlockProductionApiResponseBase & GetBlockProductionApiResponseWithSingleIdentity<typeof config.identity>;
): GetBlockProductionApiResponseBase & GetBlockProductionApiResponseWithSingleIdentity<TIdentity>;

getBlockProduction(
config?: Readonly<{
Expand Down

0 comments on commit b01e07e

Please sign in to comment.