mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 20:37:17 +00:00
shift ticker to after activation (#2489)
This commit is contained in:
parent
2442b1a4d6
commit
88df0f6498
@ -113,6 +113,8 @@ func (v *validator) WaitForActivation(ctx context.Context) error {
|
||||
"publicKey": fmt.Sprintf("%#x", pk),
|
||||
}).Info("Validator activated")
|
||||
}
|
||||
v.ticker = slotutil.GetSlotTicker(time.Unix(int64(v.genesisTime), 0), params.BeaconConfig().SecondsPerSlot)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user