mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
eth/filters: fix lint issue
This commit is contained in:
parent
1c26e7049e
commit
7f68806203
2 changed files with 2 additions and 11 deletions
|
|
@ -185,9 +185,8 @@ type subscription struct {
|
|||
// EventSystem creates subscriptions, processes events and broadcasts them to the
|
||||
// subscription which match the subscription criteria.
|
||||
type EventSystem struct {
|
||||
backend Backend
|
||||
sys *FilterSystem
|
||||
lastHead *types.Header
|
||||
backend Backend
|
||||
sys *FilterSystem
|
||||
|
||||
// Subscriptions
|
||||
txsSub event.Subscription // Subscription for new transaction event
|
||||
|
|
|
|||
|
|
@ -628,11 +628,3 @@ func TestPendingTxFilterDeadlock(t *testing.T) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
func flattenLogs(pl [][]*types.Log) []*types.Log {
|
||||
var logs []*types.Log
|
||||
for _, l := range pl {
|
||||
logs = append(logs, l...)
|
||||
}
|
||||
return logs
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue