aboutsummaryrefslogtreecommitdiffstats
path: root/p2p
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-29 10:20:00 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commit64fcbfe3095f94690e8509fce7f1e4a8cdbcb362 (patch)
tree0fbf2ca9e2788647e9bd10d5164987c22a649329 /p2p
parentf3135faaddd6a2af7125471ed37fc13571a8be91 (diff)
downloaddexon-64fcbfe3095f94690e8509fce7f1e4a8cdbcb362.tar.gz
dexon-64fcbfe3095f94690e8509fce7f1e4a8cdbcb362.tar.zst
dexon-64fcbfe3095f94690e8509fce7f1e4a8cdbcb362.zip
Fix lint
Diffstat (limited to 'p2p')
-rw-r--r--p2p/dial_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/p2p/dial_test.go b/p2p/dial_test.go
index f9122de6f..35e439798 100644
--- a/p2p/dial_test.go
+++ b/p2p/dial_test.go
@@ -613,7 +613,7 @@ func TestDialStateDirectDial(t *testing.T) {
func TestDialStateGroupDial(t *testing.T) {
groups := []*dialGroup{
- &dialGroup{
+ {
name: "g1",
nodes: map[enode.ID]*enode.Node{
uintID(1): newNode(uintID(1), nil),
@@ -621,7 +621,7 @@ func TestDialStateGroupDial(t *testing.T) {
},
num: 2,
},
- &dialGroup{
+ {
name: "g2",
nodes: map[enode.ID]*enode.Node{
uintID(2): newNode(uintID(2), nil),