Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions eth/protocols/eth/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"math"
"math/big"
"math/rand"
"os"

Check failure on line 27 in eth/protocols/eth/handler_test.go

View workflow job for this annotation

GitHub Actions / golang-lint (1.24.x, ubuntu-latest)

"os" imported and not used

Check failure on line 27 in eth/protocols/eth/handler_test.go

View workflow job for this annotation

GitHub Actions / unit-test (1.24.x, ubuntu-latest)

"os" imported and not used
"testing"
"time"

Expand Down Expand Up @@ -136,8 +136,7 @@
txconfig := legacypool.DefaultConfig
txconfig.Journal = "" // Don't litter the disk with test journals

storage, _ := os.MkdirTemp("", "blobpool-")
defer os.RemoveAll(storage)
storage := t.TempDir()

Check failure on line 139 in eth/protocols/eth/handler_test.go

View workflow job for this annotation

GitHub Actions / golang-lint (1.24.x, ubuntu-latest)

undefined: t (typecheck)

Check failure on line 139 in eth/protocols/eth/handler_test.go

View workflow job for this annotation

GitHub Actions / unit-test (1.24.x, ubuntu-latest)

undefined: t

blobPool := blobpool.New(blobpool.Config{Datadir: storage}, chain, nil)
legacyPool := legacypool.New(txconfig, chain)
Expand Down
Loading