aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-02 18:16:42 +0800
committerobscuren <geffobscura@gmail.com>2015-01-02 18:16:42 +0800
commit1c7e8e909321acf9f5ed3ed2bca37acd577ddf9c (patch)
tree98c350c17046112b8e3fc366f8f83dde15cb632e
parentb619b244c7c4c36215d805beac3a954b7966c9a4 (diff)
downloadgo-tangerine-1c7e8e909321acf9f5ed3ed2bca37acd577ddf9c.tar.gz
go-tangerine-1c7e8e909321acf9f5ed3ed2bca37acd577ddf9c.tar.zst
go-tangerine-1c7e8e909321acf9f5ed3ed2bca37acd577ddf9c.zip
Set TD to block once processed
-rw-r--r--core/chain_manager.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go
index 485c195d5..780242f56 100644
--- a/core/chain_manager.go
+++ b/core/chain_manager.go
@@ -351,6 +351,7 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
chainlogger.Infoln(err)
return err
}
+ block.Td = td
self.mu.Lock()
{