diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-29 10:20:00 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:54 +0800 |
commit | d09c4f37a430b03e42d0ae3324907f040adc1449 (patch) | |
tree | 05f27af84647a2d3296a8d4fec578c11c5a1f87a /dex/protocol_test.go | |
parent | 25a0e3a6b67cf646611153599e5b9cde2f2e8435 (diff) | |
download | dexon-d09c4f37a430b03e42d0ae3324907f040adc1449.tar.gz dexon-d09c4f37a430b03e42d0ae3324907f040adc1449.tar.zst dexon-d09c4f37a430b03e42d0ae3324907f040adc1449.zip |
Fix lint
Diffstat (limited to 'dex/protocol_test.go')
-rw-r--r-- | dex/protocol_test.go | 4 |
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{ |