Skip to content

Commit

Permalink
fix: pool is set wrong in lm rewrds v3 calc
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh-98 committed Jan 16, 2024
1 parent ce32473 commit 5cfa252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/pool_lmrewards/v3/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (mdl *LMRewardsv3) Save(tx *gorm.DB, currentTs uint64) {
reward := user.GetPoints(farm, currentTs)
rewards = append(rewards, &pool_lmrewards.LMReward{
User: user.Account,
Pool: user.Farm,
Pool: farm.Pool,
Reward: (*core.BigInt)(reward),
})
}
Expand Down

0 comments on commit 5cfa252

Please sign in to comment.