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

This commit is contained in:
JukLee0ira 2024-07-08 17:22:19 +08:00 committed by Daniel Liu
parent f8a2b00505
commit 4da6ff17fb

View file

@ -30,7 +30,6 @@ import (
"github.com/XinFinOrg/XDPoSChain/common/hexutil"
"github.com/XinFinOrg/XDPoSChain/core/types"
"github.com/XinFinOrg/XDPoSChain/ethdb"
"github.com/XinFinOrg/XDPoSChain/event"
"github.com/XinFinOrg/XDPoSChain/rpc"
)
@ -56,8 +55,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{}
chainDb ethdb.Database
events *EventSystem
filtersMu sync.Mutex