Set TD to block once processed
This commit is contained in:
1 parent
b619b244c7
commit
1c7e8e9093
1 file changed
+1
@@ -351,6 +351,7 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
|
||||
chainlogger.Infoln(err)
|
||||
return err
|
||||
}
|
||||
block.Td = td
|
||||
|
||||
self.mu.Lock()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user