diff options
author | Vitalik Buterin <v@buterin.com> | 2015-05-14 08:29:57 +0800 |
---|---|---|
committer | Vitalik Buterin <v@buterin.com> | 2015-05-14 08:29:57 +0800 |
commit | bc837619960d46cb4a6f6e8334fd867289e4ecc1 (patch) | |
tree | 631f3365f1af5e3f2431d982c8360400c706d155 | |
parent | f7fdb4dfbe1a0851b6fb2970b0a6b11fd31273d6 (diff) | |
download | go-tangerine-bc837619960d46cb4a6f6e8334fd867289e4ecc1.tar go-tangerine-bc837619960d46cb4a6f6e8334fd867289e4ecc1.tar.gz go-tangerine-bc837619960d46cb4a6f6e8334fd867289e4ecc1.tar.bz2 go-tangerine-bc837619960d46cb4a6f6e8334fd867289e4ecc1.tar.lz go-tangerine-bc837619960d46cb4a6f6e8334fd867289e4ecc1.tar.xz go-tangerine-bc837619960d46cb4a6f6e8334fd867289e4ecc1.tar.zst go-tangerine-bc837619960d46cb4a6f6e8334fd867289e4ecc1.zip |
Fixed max uncle count error message
-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 af47069ad..059c442cc 100644 --- a/core/block_processor.go +++ b/core/block_processor.go @@ -197,7 +197,7 @@ func (sm *BlockProcessor) processWithParent(block, parent *types.Block) (logs st // There can be at most two uncles if len(block.Uncles()) > 2 { - return nil, ValidationError("Block can only contain one uncle (contained %v)", len(block.Uncles())) + return nil, ValidationError("Block can only contain maximum 2 uncles (contained %v)", len(block.Uncles())) } receipts, err := sm.TransitionState(state, parent, block, false) |