diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-29 10:20:00 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:19 +0800 |
commit | 7ece1a9f76ba17eb07c078cce6f8ffe48bac7551 (patch) | |
tree | 6f3a71a6257e23521a1ed4be3088f436b757bdb3 /p2p | |
parent | 3bc8c1628257b2fab50f260e048118fc56b1ab02 (diff) | |
download | go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.gz go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.bz2 go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.lz go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.xz go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.zst go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.zip |
Fix lint
Diffstat (limited to 'p2p')
-rw-r--r-- | p2p/dial_test.go | 4 |
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), |