Skip to content

Commit 08d10c1

Browse files
committed
fix table 4
1 parent b18ea92 commit 08d10c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/rewards/4_goldRewardsForAll.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ latest_share_snapshots AS (
2020
MAX(sss.snapshot) as latest_share_snapshot
2121
FROM {{.activeRewardsTable}} ap
2222
CROSS JOIN (SELECT DISTINCT snapshot, strategy FROM staker_share_snapshots) sss
23-
WHERE ap.reward_type = 'all_stakers'
23+
WHERE ap.reward_type = 'all_earners'
2424
AND sss.strategy = ap.strategy
2525
AND sss.snapshot <= ap.snapshot
2626
GROUP BY ap.reward_hash, ap.snapshot, ap.strategy
@@ -45,7 +45,7 @@ reward_snapshot_stakers AS (
4545
JOIN staker_share_snapshots sss ON
4646
sss.strategy = lss.strategy AND
4747
sss.snapshot = lss.latest_share_snapshot
48-
WHERE ap.reward_type = 'all_stakers'
48+
WHERE ap.reward_type = 'all_earners'
4949
-- Parse out negative shares and zero multiplier so there is no division by zero case
5050
AND sss.shares > 0 and ap.multiplier != 0
5151
),

0 commit comments

Comments
 (0)