diff --git a/packages/beacon-node/src/eth1/provider/jsonRpcHttpClient.ts b/packages/beacon-node/src/eth1/provider/jsonRpcHttpClient.ts index 8888fa23e72b..d06d144b86ba 100644 --- a/packages/beacon-node/src/eth1/provider/jsonRpcHttpClient.ts +++ b/packages/beacon-node/src/eth1/provider/jsonRpcHttpClient.ts @@ -265,7 +265,7 @@ export class JsonRpcHttpClient implements IJsonRpcHttpClient { * Jwt auth spec: https://github.com/ethereum/execution-apis/pull/167 */ const jwtClaim: JwtClaim = { - iat: Math.floor(new Date().getTime() / 1000), + iat: Math.floor(Date.now() / 1000), id: this.jwtId, clv: this.jwtVersion, };