improve startup log

This commit is contained in:
vyzo 2021-03-02 19:28:53 +02:00
parent 006c55a7c9
commit 70ebb2ad8d

View File

@ -356,7 +356,7 @@ func (s *SplitStore) Start(chain ChainAccessor) error {
return xerrors.Errorf("error loading warmup epoch: %w", err) return xerrors.Errorf("error loading warmup epoch: %w", err)
} }
log.Infof("starting splitstore at base epoch %d", s.baseEpoch) log.Infow("starting splitstore", "baseEpoch", s.baseEpoch, "warmupEpoch", s.warmupEpoch)
// watch the chain // watch the chain
chain.SubscribeHeadChanges(s.HeadChange) chain.SubscribeHeadChanges(s.HeadChange)