Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
wemeetagain committed Apr 4, 2022
1 parent ab8bd7e commit c83991f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/lodestar/test/e2e/keymanager/keymanager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {chainConfig as chainConfigDef} from "@chainsafe/lodestar-config/default"
import {HttpClient} from "@chainsafe/lodestar-api/src";
import {getClient} from "@chainsafe/lodestar-api/src/keymanager/client";
import {ISlashingProtection, Validator} from "@chainsafe/lodestar-validator";
import {ByteVector, fromHexString} from "@chainsafe/ssz";
import {fromHexString} from "@chainsafe/ssz";
import {WinstonLogger} from "@chainsafe/lodestar-utils";
import {ssz} from "@chainsafe/lodestar-types";
import {LogLevel, testLogger, TestLoggerOpts} from "../../utils/logger";
Expand Down Expand Up @@ -483,7 +483,7 @@ function dirContainFileWithPubkeyInFilename(dir: string, pubkeys: string[]): boo
}

// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
function createAttesterDuty(pubkey: ByteVector, slot: number, committeeIndex: number, validatorIndex: number) {
function createAttesterDuty(pubkey: Uint8Array, slot: number, committeeIndex: number, validatorIndex: number) {
return {
slot: slot,
committeeIndex: committeeIndex,
Expand Down

0 comments on commit c83991f

Please sign in to comment.