mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-01 09:03:48 +00:00
Set TD to block once processed
This commit is contained in:
parent
b619b244c7
commit
1c7e8e9093
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue