Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Commit 1f86993

Browse files
committed
nit
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
1 parent 7fbe49e commit 1f86993

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

peer/network.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ var (
3838
_ common.AppHandler = &network{}
3939
)
4040

41-
// TODO remove this interface
4241
type Network interface {
4342
validators.Connector
4443
common.AppHandler

peer/network_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ import (
1212
"testing"
1313
"time"
1414

15-
ethcommon "github.com/ethereum/go-ethereum/common"
16-
"github.com/prometheus/client_golang/prometheus"
17-
1815
"github.com/ava-labs/avalanchego/network/p2p"
1916
"github.com/ava-labs/avalanchego/snow/engine/common"
2017
"github.com/ava-labs/avalanchego/utils/logging"
2118
"github.com/ava-labs/avalanchego/utils/set"
19+
ethcommon "github.com/ethereum/go-ethereum/common"
20+
"github.com/prometheus/client_golang/prometheus"
2221

2322
"github.com/ava-labs/coreth/plugin/evm/message"
2423

plugin/evm/tx_gossip_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ import (
1010
"testing"
1111
"time"
1212

13-
"github.com/prometheus/client_golang/prometheus"
14-
"github.com/stretchr/testify/require"
15-
1613
"github.com/ava-labs/avalanchego/ids"
1714
"github.com/ava-labs/avalanchego/network/p2p"
1815
"github.com/ava-labs/avalanchego/network/p2p/gossip"
@@ -23,6 +20,8 @@ import (
2320
"github.com/ava-labs/avalanchego/utils/crypto/secp256k1"
2421
"github.com/ava-labs/avalanchego/utils/logging"
2522
"github.com/ava-labs/avalanchego/utils/set"
23+
"github.com/prometheus/client_golang/prometheus"
24+
"github.com/stretchr/testify/require"
2625

2726
"google.golang.org/protobuf/proto"
2827

0 commit comments

Comments
 (0)