obscuren 10 years ago
parent
commit
54f0f82dd1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/block_processor.go

+ 1 - 0
core/block_processor.go

@@ -354,6 +354,7 @@ func (sm *BlockProcessor) VerifyUncles(statedb *state.StateDB, block, parent *ty
 			var branch string
 			var branch string
 			ancestors.Each(func(item interface{}) bool {
 			ancestors.Each(func(item interface{}) bool {
 				branch += fmt.Sprintf("  O - %x\n  |\n", item.(common.Hash))
 				branch += fmt.Sprintf("  O - %x\n  |\n", item.(common.Hash))
+				return true
 			})
 			})
 			branch += fmt.Sprintf("  O - %x\n  |\n", block.Hash())
 			branch += fmt.Sprintf("  O - %x\n  |\n", block.Hash())
 			glog.Infoln(branch)
 			glog.Infoln(branch)