Skip to content

Commit

Permalink
Merge branch 'b/testnet' into b/master
Browse files Browse the repository at this point in the history
  • Loading branch information
romever committed Nov 17, 2024
2 parents 13c2b7d + eac903a commit e29f49e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions job/task/validator_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -620,12 +620,6 @@ func DelegatorRewardSync(ctx context.Context, svcCtx *svc.ServiceContext) {
UpdatedAt: time.Now(),
}
rewardModels = append(rewardModels, rewardModel)

//_, err = svcCtx.RewardModel.Insert(ctx, rewardModel)
//if err != nil {
// logc.Errorf(ctx, "RewardModel insert error, %v", err)
// return
//}
}
if len(rewardModels) > 0 {
_, err := svcCtx.RewardModel.BatchInsert(ctx, rewardModels)
Expand Down

0 comments on commit e29f49e

Please sign in to comment.