From bc837619960d46cb4a6f6e8334fd867289e4ecc1 Mon Sep 17 00:00:00 2001 From: Vitalik Buterin Date: Wed, 13 May 2015 20:29:57 -0400 Subject: Fixed max uncle count error message --- core/block_processor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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) -- cgit