Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Jan 10, 2023
1 parent f059d46 commit eccb215
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/validator/src/services/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ export class BlockProposingService {
}

private publishBlockWrapper = async (signedBlock: allForks.FullOrBlindedSignedBeaconBlock): Promise<void> => {
return isBlindedBeaconBlock(signedBlock.message)
? this.api.beacon.publishBlindedBlock(signedBlock as bellatrix.SignedBlindedBeaconBlock)
: this.api.beacon.publishBlock(signedBlock as allForks.SignedBeaconBlock);
isBlindedBeaconBlock(signedBlock.message)
? await this.api.beacon.publishBlindedBlock(signedBlock as bellatrix.SignedBlindedBeaconBlock)
: await this.api.beacon.publishBlock(signedBlock as allForks.SignedBeaconBlock);
};

private produceBlockWrapper = async (
Expand Down

0 comments on commit eccb215

Please sign in to comment.