Fixed chain event issue

This commit is contained in:
obscuren
2015-02-20 16:59:08 +01:00
parent 82cae27737
commit 66d5559866
2 changed files with 3 additions and 7 deletions

View File

@ -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 {