aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-10 18:29:22 +0800
committerobscuren <geffobscura@gmail.com>2015-03-10 18:29:22 +0800
commitb87442a9f72f9f8dad9ea1442fc69529b2aaa631 (patch)
tree96985517aaa63b36cd3fcbc21a9aae269a328ea2
parentc0a8e3cd349ea9a9d1ea7e97254a6c9bf5e53e90 (diff)
downloaddexon-b87442a9f72f9f8dad9ea1442fc69529b2aaa631.tar.gz
dexon-b87442a9f72f9f8dad9ea1442fc69529b2aaa631.tar.zst
dexon-b87442a9f72f9f8dad9ea1442fc69529b2aaa631.zip
Fixed error message. Closes #448
-rw-r--r--core/block_processor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/block_processor.go b/core/block_processor.go
index 34c12729c..ea9d06841 100644
--- a/core/block_processor.go
+++ b/core/block_processor.go
@@ -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() {