mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
eth/filters: simplify loop
This commit is contained in:
parent
7c072611e9
commit
03638e5b82
1 changed files with 1 additions and 1 deletions
|
|
@ -607,7 +607,7 @@ func TestPendingTxFilterDeadlock(t *testing.T) {
|
|||
// Create a bunch of filters that will
|
||||
// timeout either in 100ms or 200ms
|
||||
subs := make([]*Subscription, 20)
|
||||
for i := 0; i < len(subs); i++ {
|
||||
for i := range subs {
|
||||
fid := api.NewPendingTransactionFilter(nil)
|
||||
api.filtersMu.Lock()
|
||||
f, ok := api.filters[fid]
|
||||
|
|
|
|||
Loading…
Reference in a new issue