diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-04 00:20:10 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-04 00:20:10 +0800 |
commit | b0aaa77f0213cb525a873c3bea92e8a06cff423f (patch) | |
tree | 2be02c5483b7b98270059ebe68ebba0f317526ed /core | |
parent | ee0a1bec6c3ce942e51265535961ac6a745d33eb (diff) | |
download | dexon-b0aaa77f0213cb525a873c3bea92e8a06cff423f.tar dexon-b0aaa77f0213cb525a873c3bea92e8a06cff423f.tar.gz dexon-b0aaa77f0213cb525a873c3bea92e8a06cff423f.tar.bz2 dexon-b0aaa77f0213cb525a873c3bea92e8a06cff423f.tar.lz dexon-b0aaa77f0213cb525a873c3bea92e8a06cff423f.tar.xz dexon-b0aaa77f0213cb525a873c3bea92e8a06cff423f.tar.zst dexon-b0aaa77f0213cb525a873c3bea92e8a06cff423f.zip |
changed message
Diffstat (limited to 'core')
-rw-r--r-- | core/block_processor.go | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |