diff options
Diffstat (limited to 'chain/chain_manager.go')
-rw-r--r-- | chain/chain_manager.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chain/chain_manager.go b/chain/chain_manager.go index 46e0703c1..217a50103 100644 --- a/chain/chain_manager.go +++ b/chain/chain_manager.go @@ -337,6 +337,7 @@ func (self *ChainManager) InsertChain(chain *BlockChain) { func (self *ChainManager) TestChain(chain *BlockChain) (td *big.Int, err error) { self.workingChain = chain + defer func() { self.workingChain = nil }() for e := chain.Front(); e != nil; e = e.Next() { var ( |