mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-25 21:07:17 +00:00
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 {
|
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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user