Replace Roughtime With Timeutils Across Prysm (#7301)

* remove roughtime

* change all references

* rename

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
Nishant Das
2020-09-22 19:49:58 +08:00
committed by GitHub
parent 1a4129f5a6
commit 719e99ffd9
77 changed files with 181 additions and 287 deletions

View File

@@ -19,7 +19,7 @@ import (
"github.com/prysmaticlabs/prysm/beacon-chain/p2p"
"github.com/prysmaticlabs/prysm/shared"
"github.com/prysmaticlabs/prysm/shared/params"
"github.com/prysmaticlabs/prysm/shared/roughtime"
"github.com/prysmaticlabs/prysm/shared/timeutils"
"github.com/sirupsen/logrus"
)
@@ -92,7 +92,7 @@ func (s *Service) Start() {
return
}
if genesis.After(roughtime.Now()) {
if genesis.After(timeutils.Now()) {
s.synced = true
s.stateNotifier.StateFeed().Send(&feed.Event{
Type: statefeed.Synced,