Skip to content

Commit

Permalink
Clean up warning message (#11619)
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg authored Feb 13, 2024
1 parent ca87794 commit cd19c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/consensus/filcns/filecoin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit cd19c2a

Please sign in to comment.