mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 21:07:18 +00:00
Powchain: Minor fix for log statement (#7728)
* Minor fix for log statement * Update beacon-chain/powchain/service.go
This commit is contained in:
parent
c5a8363998
commit
d2694ee198
@ -744,10 +744,14 @@ func (s *Service) logTillChainStart() {
|
||||
secondsLeft = params.BeaconConfig().MinGenesisTime - genesisTime
|
||||
}
|
||||
|
||||
log.WithFields(logrus.Fields{
|
||||
"Extra validators needed": valNeeded,
|
||||
"Generating genesis state in ": time.Duration(secondsLeft) * time.Second,
|
||||
}).Infof("Currently waiting for chainstart")
|
||||
fields := logrus.Fields{
|
||||
"Additional validators needed": valNeeded,
|
||||
}
|
||||
if secondsLeft > 0 {
|
||||
fields["Generating genesis state in"] = time.Duration(secondsLeft) * time.Second
|
||||
}
|
||||
|
||||
log.WithFields(fields).Info("Currently waiting for chainstart")
|
||||
}
|
||||
|
||||
// cacheHeadersForEth1DataVote makes sure that voting for eth1data after startup utilizes cached headers
|
||||
|
Loading…
Reference in New Issue
Block a user