diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-20 23:59:08 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-20 23:59:08 +0800 |
commit | 66d5559866f37a79a7b5aeccd03dfe1b4401542b (patch) | |
tree | 0d18a39d40dd1b88ce770e803b00b0d117ceaa00 /core | |
parent | 82cae277372095eb221bc14b2111e46c468925fd (diff) | |
download | dexon-66d5559866f37a79a7b5aeccd03dfe1b4401542b.tar dexon-66d5559866f37a79a7b5aeccd03dfe1b4401542b.tar.gz dexon-66d5559866f37a79a7b5aeccd03dfe1b4401542b.tar.bz2 dexon-66d5559866f37a79a7b5aeccd03dfe1b4401542b.tar.lz dexon-66d5559866f37a79a7b5aeccd03dfe1b4401542b.tar.xz dexon-66d5559866f37a79a7b5aeccd03dfe1b4401542b.tar.zst dexon-66d5559866f37a79a7b5aeccd03dfe1b4401542b.zip |
Fixed chain event issue
Diffstat (limited to 'core')
-rw-r--r-- | core/chain_manager.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go index 47cad825d..600dc3db5 100644 --- a/core/chain_manager.go +++ b/core/chain_manager.go @@ -396,9 +396,7 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error { self.mu.Unlock() if chain { - fmt.Println("POST START") - self.eventMux.Post(ChainEvent{block, td}) - fmt.Println("POST END") + go self.eventMux.Post(ChainEvent{block, td}) } if split { |