Skip to content

Commit 0e4fd9f

Browse files
committed
fix active_rewards_modified in table 15
1 parent c144990 commit 0e4fd9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/rewards/15_goldActiveUniqueAndTotalStakeRewards.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ active_rewards_modified AS (
2626
block_number,
2727
block_time,
2828
block_date,
29-
CAST('{{.cutoffDate}}' AS TIMESTAMP(6)) AS global_end_inclusive
29+
CAST('{{.cutoffDate}}' AS TIMESTAMP(6)) - interval '1' day AS global_end_inclusive
3030
FROM stake_operator_set_rewards
3131
WHERE end_timestamp >= TIMESTAMP '{{.rewardsStart}}'
3232
AND start_timestamp <= TIMESTAMP '{{.cutoffDate}}'

0 commit comments

Comments
 (0)