eth/filters: fix lint issue

This commit is contained in:
Felix Lange 2024-04-18 17:33:42 +02:00
parent 1c26e7049e
commit 7f68806203
2 changed files with 2 additions and 11 deletions

View file

@ -187,7 +187,6 @@ type subscription struct {
type EventSystem struct {
backend Backend
sys *FilterSystem
lastHead *types.Header
// Subscriptions
txsSub event.Subscription // Subscription for new transaction event

View file

@ -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
}