From 07fac559897b2ea8bcfc0a801be4242e70d85f1e Mon Sep 17 00:00:00 2001 From: pk910 Date: Fri, 13 Sep 2024 15:13:20 +0200 Subject: [PATCH] do not stop execution if validator already exists in `generate_deposits` task --- pkg/coordinator/tasks/generate_deposits/task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/coordinator/tasks/generate_deposits/task.go b/pkg/coordinator/tasks/generate_deposits/task.go index a825318..ad22424 100644 --- a/pkg/coordinator/tasks/generate_deposits/task.go +++ b/pkg/coordinator/tasks/generate_deposits/task.go @@ -297,7 +297,7 @@ func (t *Task) generateDeposit(ctx context.Context, accountIdx uint64, onConfirm } if validator != nil { - return nil, nil, fmt.Errorf("validator already exists on chain") + t.logger.Warnf("validator already exists on chain (index: %v)", validator.Index) } var pub common.BLSPubkey