From 1c7e8e909321acf9f5ed3ed2bca37acd577ddf9c Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 2 Jan 2015 11:16:42 +0100 Subject: Set TD to block once processed --- core/chain_manager.go | 1 + 1 file changed, 1 insertion(+) (limited to 'core') 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() { -- cgit