mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-17 23:24:39 +00:00
xeth: removed unneeded mutex lock
This commit is contained in:
parent
c28dc03f6d
commit
228fc5a83a
1 changed files with 0 additions and 3 deletions
|
|
@ -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 a new issue