Skip to content

Commit

Permalink
Add debug option when fetching rewards for snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcgary committed Nov 25, 2024
1 parent 611a51b commit 9f65eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rewards/rewards.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func (rc *RewardsCalculator) fetchRewardsForSnapshot(snapshotDate string) ([]*Re
if err != nil {
return nil, err
}
res := rc.grm.Raw(query).Scan(&goldRows)
res := rc.grm.Debug().Raw(query).Scan(&goldRows)
if res.Error != nil {
return nil, res.Error
}
Expand Down

0 comments on commit 9f65eba

Please sign in to comment.