Fixed error message. Closes #448
This commit is contained in:
parent
c0a8e3cd34
commit
b87442a9f7
|
@ -261,7 +261,7 @@ func (sm *BlockProcessor) ValidateHeader(block, parent *types.Header) error {
|
|||
}
|
||||
|
||||
if block.Time <= parent.Time {
|
||||
return ValidationError("Block timestamp not after or equal to prev block (%v - %v)", block.Time, parent.Time)
|
||||
return ValidationError("Block timestamp equal or less than previous block (%v - %v)", block.Time, parent.Time)
|
||||
}
|
||||
|
||||
if int64(block.Time) > time.Now().Unix() {
|
||||
|
|
Loading…
Reference in New Issue