Skip to content

Commit

Permalink
shift ticker to after activation (#2489)
Browse files Browse the repository at this point in the history
  • Loading branch information
nisdas authored and rauljordan committed May 5, 2019
1 parent 2442b1a commit 88df0f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions validator/client/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 88df0f6

Please sign in to comment.