obscuren 10 年之前
父节点
当前提交
54f0f82dd1
共有 1 个文件被更改,包括 1 次插入0 次删除
  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
 			ancestors.Each(func(item interface{}) bool {
 				branch += fmt.Sprintf("  O - %x\n  |\n", item.(common.Hash))
+				return true
 			})
 			branch += fmt.Sprintf("  O - %x\n  |\n", block.Hash())
 			glog.Infoln(branch)