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@byzantine-lab.io>2019-06-12 17:27:19 +0800
commit7ece1a9f76ba17eb07c078cce6f8ffe48bac7551 (patch)
tree6f3a71a6257e23521a1ed4be3088f436b757bdb3 /dex/protocol_test.go
parent3bc8c1628257b2fab50f260e048118fc56b1ab02 (diff)
downloadgo-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar
go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.gz
go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.bz2
go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.lz
go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.xz
go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.zst
go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.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{