Clean up warning message (#11619)

This commit is contained in:
Rod Vagg 2024-02-14 04:36:50 +11:00 committed by GitHub
parent ca877940a0
commit cd19c2a08d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 {