Clean up warning message (#11619)

This commit is contained in:
Rod Vagg
2024-02-13 09:36:50 -08:00
committed by GitHub
parent ca877940a0
commit cd19c2a08d
+1 -1
View File
@@ -149,7 +149,7 @@ func (filec *FilecoinEC) ValidateBlock(ctx context.Context, b *types.FullBlock)
return xerrors.Errorf("block was from the future (now=%d, blk=%d): %w", now, h.Timestamp, consensus.ErrTemporal)
}
if h.Timestamp > now {
log.Warn("Got block from the future, but within threshold", h.Timestamp, build.Clock.Now().Unix())
log.Warnf("Got block from the future, but within threshold (%d > %d)", h.Timestamp, now)
}
minerCheck := async.Err(func() error {