mirror of https://github.com/status-im/op-geth.git
xeth: removed unneeded mutex lock
This commit is contained in:
parent
9addb3df3a
commit
b1d0d3c0ed
|
@ -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