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-04-09 13:49:58 +0800
commitd92551112ba40e99e737ff895b1a921d3a043521 (patch)
tree75eacccd2ff5653a80fbb26a67a64168bb988870 /p2p
parentf4503ed3078357f4a9ae45759315c709d0d56f2d (diff)
downloaddexon-d92551112ba40e99e737ff895b1a921d3a043521.tar
dexon-d92551112ba40e99e737ff895b1a921d3a043521.tar.gz
dexon-d92551112ba40e99e737ff895b1a921d3a043521.tar.bz2
dexon-d92551112ba40e99e737ff895b1a921d3a043521.tar.lz
dexon-d92551112ba40e99e737ff895b1a921d3a043521.tar.xz
dexon-d92551112ba40e99e737ff895b1a921d3a043521.tar.zst
dexon-d92551112ba40e99e737ff895b1a921d3a043521.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),