Compare commits

...

1 Commits

Author SHA1 Message Date
terence tsao
75752edc32 Proposer cancel validator main run loop 2025-05-11 11:58:02 -07:00
2 changed files with 4 additions and 0 deletions

3
changelog/tt_bamboo.md Normal file
View File

@@ -0,0 +1,3 @@
### Fixed
- Proper cancel() main validator run loop.

View File

@@ -132,6 +132,7 @@ func run(ctx context.Context, v iface.Validator) {
continue
}
performRoles(slotCtx, allRoles, v, slot, &wg, span)
cancel()
case isHealthyAgain := <-healthTracker.HealthUpdates():
if isHealthyAgain {
headSlot, err = initializeValidatorAndGetHeadSlot(ctx, v)