diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-04-01 18:01:26 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-15 22:09:55 +0800 |
commit | bde4a6cc02c6806093d2a49a86463f81358ca3d8 (patch) | |
tree | bc3d617f8ff755f6cca5c4fc1dff7b5457845c9f /dex/protocol_test.go | |
parent | 3c0372165e723de9f1bd3ea8dacd579810463f6d (diff) | |
download | go-tangerine-bde4a6cc02c6806093d2a49a86463f81358ca3d8.tar go-tangerine-bde4a6cc02c6806093d2a49a86463f81358ca3d8.tar.gz go-tangerine-bde4a6cc02c6806093d2a49a86463f81358ca3d8.tar.bz2 go-tangerine-bde4a6cc02c6806093d2a49a86463f81358ca3d8.tar.lz go-tangerine-bde4a6cc02c6806093d2a49a86463f81358ca3d8.tar.xz go-tangerine-bde4a6cc02c6806093d2a49a86463f81358ca3d8.tar.zst go-tangerine-bde4a6cc02c6806093d2a49a86463f81358ca3d8.zip |
vendor: sync to latest core (#320)
* vendor: sync to latest core
* dex, core: fix conflict
x
Diffstat (limited to 'dex/protocol_test.go')
-rw-r--r-- | dex/protocol_test.go | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/dex/protocol_test.go b/dex/protocol_test.go index 7e0e1a9a4..d6bebc18a 100644 --- a/dex/protocol_test.go +++ b/dex/protocol_test.go @@ -334,11 +334,7 @@ func TestRecvCoreBlocks(t *testing.T) { Height: 13, Data: []byte{4, 4, 4, 4, 4}, }, - Finalization: coreTypes.FinalizationResult{ - Randomness: []byte{5, 5, 5, 5, 5}, - Timestamp: time.Now().UTC(), - Height: 13, - }, + Randomness: []byte{5, 5, 5, 5, 5}, Signature: coreCrypto.Signature{ Type: "signature", Signature: []byte("signature"), @@ -387,11 +383,7 @@ func TestSendCoreBlocks(t *testing.T) { Height: 13, Data: []byte{4, 4, 4, 4, 4}, }, - Finalization: coreTypes.FinalizationResult{ - Randomness: []byte{5, 5, 5, 5, 5}, - Timestamp: time.Now().UTC(), - Height: 13, - }, + Randomness: []byte{5, 5, 5, 5, 5}, Signature: coreCrypto.Signature{ Type: "signature", Signature: []byte("signature"), |