xeth: removed unneeded mutex lock

This commit is contained in:
Jeffrey Wilcke 2015-07-16 11:04:53 +02:00
parent 9addb3df3a
commit b1d0d3c0ed

View File

@ -609,9 +609,6 @@ func (self *XEth) TransactionFilterChanged(id int) []common.Hash {
} }
func (self *XEth) Logs(id int) state.Logs { func (self *XEth) Logs(id int) state.Logs {
self.logMu.Lock()
defer self.logMu.Unlock()
filter := self.filterManager.GetFilter(id) filter := self.filterManager.GetFilter(id)
if filter != nil { if filter != nil {
return filter.Find() return filter.Find()