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 21:32:54 +0800
commitd09c4f37a430b03e42d0ae3324907f040adc1449 (patch)
tree05f27af84647a2d3296a8d4fec578c11c5a1f87a /p2p
parent25a0e3a6b67cf646611153599e5b9cde2f2e8435 (diff)
downloaddexon-d09c4f37a430b03e42d0ae3324907f040adc1449.tar
dexon-d09c4f37a430b03e42d0ae3324907f040adc1449.tar.gz
dexon-d09c4f37a430b03e42d0ae3324907f040adc1449.tar.bz2
dexon-d09c4f37a430b03e42d0ae3324907f040adc1449.tar.lz
dexon-d09c4f37a430b03e42d0ae3324907f040adc1449.tar.xz
dexon-d09c4f37a430b03e42d0ae3324907f040adc1449.tar.zst
dexon-d09c4f37a430b03e42d0ae3324907f040adc1449.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),