Merge pull request #1476 from obscuren/deadlock-logs

xeth: removed mutex lock
This commit is contained in:
Jeffrey Wilcke 2015-07-16 03:35:43 -07:00
commit bc6b6932d0

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()