Changed to ChainEvent and fixed a nil pointer in transact

This commit is contained in:
obscuren
2015-02-17 22:20:47 +01:00
parent 11e12680eb
commit 7fc9b5b3f9
8 changed files with 47 additions and 14 deletions

View File

@ -393,8 +393,6 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
}
}
self.mu.Unlock()
self.eventMux.Post(NewBlockEvent{block})
}
return nil