mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
Cancel context propoerly for validator runner (#11429)
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
parent
d57a44b973
commit
99fbf5d3d8
@ -137,6 +137,7 @@ func run(ctx context.Context, v iface.Validator) {
|
||||
allRoles, err := v.RolesAt(ctx, slot)
|
||||
if err != nil {
|
||||
log.WithError(err).Error("Could not get validator roles")
|
||||
cancel()
|
||||
span.End()
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user