eth/filters: remove unused struct fields (#24782)

This commit is contained in:
hero5512 2022-04-29 16:07:52 +08:00 committed by GitHub
parent 84041e8f31
commit f94e23ca66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -29,7 +29,6 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/rpc"
)
@ -48,8 +47,6 @@ type filter struct {
// information related to the Ethereum protocol such als blocks, transactions and logs.
type PublicFilterAPI struct {
backend Backend
mux *event.TypeMux
quit chan struct{}
events *EventSystem
filtersMu sync.Mutex
filters map[rpc.ID]*filter