aboutsummaryrefslogtreecommitdiffstats
path: root/dex/nodetable_test.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-29 10:20:00 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:19 +0800
commit7ece1a9f76ba17eb07c078cce6f8ffe48bac7551 (patch)
tree6f3a71a6257e23521a1ed4be3088f436b757bdb3 /dex/nodetable_test.go
parent3bc8c1628257b2fab50f260e048118fc56b1ab02 (diff)
downloadgo-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.gz
go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.zst
go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.zip
Fix lint
Diffstat (limited to 'dex/nodetable_test.go')
-rw-r--r--dex/nodetable_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/dex/nodetable_test.go b/dex/nodetable_test.go
index 5adf0fbec..da00098a9 100644
--- a/dex/nodetable_test.go
+++ b/dex/nodetable_test.go
@@ -17,13 +17,13 @@ func TestNodeTable(t *testing.T) {
table.SubscribeNewMetasEvent(ch)
metas1 := []*NodeMeta{
- &NodeMeta{ID: randomID()},
- &NodeMeta{ID: randomID()},
+ {ID: randomID()},
+ {ID: randomID()},
}
metas2 := []*NodeMeta{
- &NodeMeta{ID: randomID()},
- &NodeMeta{ID: randomID()},
+ {ID: randomID()},
+ {ID: randomID()},
}
go table.Add(metas1)