Merge pull request #1476 from obscuren/deadlock-logs
xeth: removed mutex lock
This commit is contained in:
commit
bc6b6932d0
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user