shift ticker to after activation (#2489)

This commit is contained in:
Nishant Das 2019-05-05 23:24:41 +08:00 committed by Raul Jordan
parent 2442b1a4d6
commit 88df0f6498

View File

@ -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
}