aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-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 f4a3cb8e3..8974cd94b 100644
--- a/core/block_processor.go
+++ b/core/block_processor.go
@@ -255,7 +255,7 @@ func (sm *BlockProcessor) ValidateBlock(block, parent *types.Block) error {
a := new(big.Int).Sub(block.Header().GasLimit, parent.Header().GasLimit)
b := new(big.Int).Div(parent.Header().GasLimit, big.NewInt(1024))
if a.Cmp(b) > 0 {
- return fmt.Errorf("GasLimit check failed for block %v", block.Header().GasLimit)
+ return fmt.Errorf("GasLimit check failed for block %v (%v > %v)", block.Header().GasLimit, a, b)
}
// There can be at most one uncle