From eac903a3279f5faff3fdcdb86494beb66f59d4c0 Mon Sep 17 00:00:00 2001 From: romever <360876221@qq.com> Date: Sun, 17 Nov 2024 22:17:16 +0800 Subject: [PATCH] deploy --- job/task/validator_task.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/job/task/validator_task.go b/job/task/validator_task.go index 29d9a60..12307a4 100644 --- a/job/task/validator_task.go +++ b/job/task/validator_task.go @@ -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)