Commit 1c7e8e90 authored by obscuren's avatar obscuren

Set TD to block once processed

No related merge requests found
......@@ -351,6 +351,7 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
chainlogger.Infoln(err)
return err
}
block.Td = td
self.mu.Lock()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment