mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 20:17:17 +00:00
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
Block a user