Commit b87442a9 authored by obscuren's avatar obscuren

Fixed error message. Closes #448

parent c0a8e3cd
...@@ -261,7 +261,7 @@ func (sm *BlockProcessor) ValidateHeader(block, parent *types.Header) error { ...@@ -261,7 +261,7 @@ func (sm *BlockProcessor) ValidateHeader(block, parent *types.Header) error {
} }
if block.Time <= parent.Time { 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() { if int64(block.Time) > time.Now().Unix() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment