From b0aaa77f0213cb525a873c3bea92e8a06cff423f Mon Sep 17 00:00:00 2001 From: obscuren Date: Tue, 3 Mar 2015 17:20:10 +0100 Subject: [PATCH] changed message --- core/block_processor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/block_processor.go b/core/block_processor.go index e48660a67..1a4501740 100644 --- a/core/block_processor.go +++ b/core/block_processor.go @@ -253,7 +253,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) } if block.Time() < parent.Time() {