aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_manager.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-21 01:05:46 +0800
committerobscuren <geffobscura@gmail.com>2015-02-21 01:05:46 +0800
commitcc43ab9a810125239636143a91609389b19b49c7 (patch)
tree5048e68a9df2a713f1b28102215567a4779aed83 /core/chain_manager.go
parent66d5559866f37a79a7b5aeccd03dfe1b4401542b (diff)
downloaddexon-cc43ab9a810125239636143a91609389b19b49c7.tar
dexon-cc43ab9a810125239636143a91609389b19b49c7.tar.gz
dexon-cc43ab9a810125239636143a91609389b19b49c7.tar.bz2
dexon-cc43ab9a810125239636143a91609389b19b49c7.tar.lz
dexon-cc43ab9a810125239636143a91609389b19b49c7.tar.xz
dexon-cc43ab9a810125239636143a91609389b19b49c7.tar.zst
dexon-cc43ab9a810125239636143a91609389b19b49c7.zip
Minor updates for release
Diffstat (limited to 'core/chain_manager.go')
-rw-r--r--core/chain_manager.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go
index 600dc3db5..9ef091c3c 100644
--- a/core/chain_manager.go
+++ b/core/chain_manager.go
@@ -268,6 +268,7 @@ func (self *ChainManager) GetBlockHashesFromHash(hash []byte, max uint64) (chain
break
}
}
+ fmt.Printf("get hash %x (%d)\n", hash, len(chain))
return
}
@@ -396,7 +397,7 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
self.mu.Unlock()
if chain {
- go self.eventMux.Post(ChainEvent{block, td})
+ self.eventMux.Post(ChainEvent{block, td})
}
if split {