Skip to content

Commit 5c35014

Browse files
committed
fix: after merge fixes
1 parent 8da6bfc commit 5c35014

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jobs/validators/validators.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { CronJob, CronTime } from 'cron';
1+
import { CronJob } from 'cron';
22
import { Inject } from '@nestjs/common';
33
import { LOGGER_PROVIDER, LoggerService } from 'common/logger';
44
import { JobService } from 'common/job';
@@ -163,7 +163,7 @@ export class ValidatorsService {
163163
);
164164
const frame = this.genesisTimeService.getFrameByTimestamp(withdrawalTimestamp) + 1;
165165
const prevBalance = frameBalances[frame];
166-
const balance = parseGweiToWei(stateValidator.data.balance);
166+
const balance = parseGwei(stateValidator.data.balance);
167167
frameBalances[frame] = prevBalance ? prevBalance.add(balance) : BigNumber.from(balance);
168168
}
169169

0 commit comments

Comments
 (0)