good morning!!!!

Skip to content
Snippets Groups Projects
Commit bc837619 authored by Vitalik Buterin's avatar Vitalik Buterin
Browse files

Fixed max uncle count error message

parent f7fdb4df
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment