This commit is contained in:
trizin 2023-08-22 12:13:58 +00:00 committed by GitHub
parent b99db94993
commit b51cf824d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ export function handleRevenueAdded(event: RevenueAdded): void {
const slot = event.params.slot
for (let i = BigInt.zero(); i.lt(numEpochs); i = i.plus(BigInt.fromI32(1))) {
const targetSlot = slot.plus(secondsPerEpoch.times(i))
const targetSlotInt = Number(targetSlot);
const targetSlotInt = Number(targetSlot)
const predictSlot = getPredictSlot(
event.address.toHexString(),
targetSlotInt