diff options
author | obscuren <geffobscura@gmail.com> | 2014-11-11 19:16:36 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-11-11 19:16:36 +0800 |
commit | 75ee3b3f089e703b728bb301cc6b2abe4c111c41 (patch) | |
tree | 9087d865e296cbb93c590fe15cd9942353b70058 /chain/chain_manager.go | |
parent | 9509322ecd8e709ce8a17442836b6ff15ba2edff (diff) | |
download | dexon-75ee3b3f089e703b728bb301cc6b2abe4c111c41.tar dexon-75ee3b3f089e703b728bb301cc6b2abe4c111c41.tar.gz dexon-75ee3b3f089e703b728bb301cc6b2abe4c111c41.tar.bz2 dexon-75ee3b3f089e703b728bb301cc6b2abe4c111c41.tar.lz dexon-75ee3b3f089e703b728bb301cc6b2abe4c111c41.tar.xz dexon-75ee3b3f089e703b728bb301cc6b2abe4c111c41.tar.zst dexon-75ee3b3f089e703b728bb301cc6b2abe4c111c41.zip |
debugging code
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 ( |