Changed to ChainEvent and fixed a nil pointer in transact
This commit is contained in:
@ -393,8 +393,6 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
|
||||
}
|
||||
}
|
||||
self.mu.Unlock()
|
||||
|
||||
self.eventMux.Post(NewBlockEvent{block})
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user