mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-10 18:16:39 +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)
|
chainlogger.Infoln(err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
block.Td = td
|
||||||
|
|
||||||
self.mu.Lock()
|
self.mu.Lock()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue