Set TD to block once processed

This commit is contained in:
obscuren 2015-01-02 11:16:42 +01:00
parent b619b244c7
commit 1c7e8e9093
1 changed files with 1 additions and 0 deletions

View File

@ -351,6 +351,7 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
chainlogger.Infoln(err)
return err
}
block.Td = td
self.mu.Lock()
{