forked from cerc-io/plugeth
Set TD to block once processed
This commit is contained in:
parent
b619b244c7
commit
1c7e8e9093
@ -351,6 +351,7 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
|
||||
chainlogger.Infoln(err)
|
||||
return err
|
||||
}
|
||||
block.Td = td
|
||||
|
||||
self.mu.Lock()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user