aboutsummaryrefslogtreecommitdiffstats
path: root/dex/protocol_test.go
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-03-12 12:19:09 +0800
commit64fcbfe3095f94690e8509fce7f1e4a8cdbcb362 (patch)
tree0fbf2ca9e2788647e9bd10d5164987c22a649329 /dex/protocol_test.go
parentf3135faaddd6a2af7125471ed37fc13571a8be91 (diff)
downloaddexon-64fcbfe3095f94690e8509fce7f1e4a8cdbcb362.tar
dexon-64fcbfe3095f94690e8509fce7f1e4a8cdbcb362.tar.gz
dexon-64fcbfe3095f94690e8509fce7f1e4a8cdbcb362.tar.bz2
dexon-64fcbfe3095f94690e8509fce7f1e4a8cdbcb362.tar.lz
dexon-64fcbfe3095f94690e8509fce7f1e4a8cdbcb362.tar.xz
dexon-64fcbfe3095f94690e8509fce7f1e4a8cdbcb362.tar.zst
dexon-64fcbfe3095f94690e8509fce7f1e4a8cdbcb362.zip
Fix lint
Diffstat (limited to 'dex/protocol_test.go')
-rw-r--r--dex/protocol_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dex/protocol_test.go b/dex/protocol_test.go
index c2f9c00b2..1b380cac7 100644
--- a/dex/protocol_test.go
+++ b/dex/protocol_test.go
@@ -330,7 +330,7 @@ func TestRecvLatticeBlock(t *testing.T) {
},
Timestamp: time.Now().UTC(),
Acks: coreCommon.NewSortedHashes(coreCommon.Hashes([]coreCommon.Hash{
- coreCommon.Hash{101}, coreCommon.Hash{100}, coreCommon.Hash{102},
+ {101}, {100}, {102},
})),
Payload: []byte{3, 3, 3, 3, 3},
Witness: coreTypes.Witness{
@@ -385,7 +385,7 @@ func TestSendLatticeBlock(t *testing.T) {
},
Timestamp: time.Now().UTC(),
Acks: coreCommon.NewSortedHashes(coreCommon.Hashes([]coreCommon.Hash{
- coreCommon.Hash{101}, coreCommon.Hash{100}, coreCommon.Hash{102},
+ {101}, {100}, {102},
})),
Payload: []byte{3, 3, 3, 3, 3},
Witness: coreTypes.Witness{