From f94e23ca66eef8fdac2473ce99ca6ad57324aaa2 Mon Sep 17 00:00:00 2001 From: hero5512 Date: Fri, 29 Apr 2022 16:07:52 +0800 Subject: [PATCH] eth/filters: remove unused struct fields (#24782) --- eth/filters/api.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/eth/filters/api.go b/eth/filters/api.go index 6b28ec961..7196e90f9 100644 --- a/eth/filters/api.go +++ b/eth/filters/api.go @@ -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