Skip to content

Commit

Permalink
do not stop execution if validator already exists in `generate_deposi…
Browse files Browse the repository at this point in the history
…ts` task
  • Loading branch information
pk910 committed Sep 13, 2024
1 parent 263f556 commit 07fac55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/coordinator/tasks/generate_deposits/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 07fac55

Please sign in to comment.