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>2018-12-19 20:54:27 +0800
commit3ea93f56e7edcb50a44060ebe5bd022cd2efd205 (patch)
tree398d525dfc339b53f4ab4e458bae785eceb33f5e /p2p
parentd00250d9631c4408d7f27f1a20a308788e36698d (diff)
downloaddexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.tar
dexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.tar.gz
dexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.tar.bz2
dexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.tar.lz
dexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.tar.xz
dexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.tar.zst
dexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.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),