mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +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
|
|
@ -187,7 +187,6 @@ type subscription struct {
|
||||||
type EventSystem struct {
|
type EventSystem struct {
|
||||||
backend Backend
|
backend Backend
|
||||||
sys *FilterSystem
|
sys *FilterSystem
|
||||||
lastHead *types.Header
|
|
||||||
|
|
||||||
// Subscriptions
|
// Subscriptions
|
||||||
txsSub event.Subscription // Subscription for new transaction event
|
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