diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-10-02 11:45:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 11:45:34 +0800 |
commit | 658662d42d30c58e4f3951f5c1e99688de295397 (patch) | |
tree | 41bb0f9129403eb1905172dc8409eac6761d5fea /core/nodeset-cache_test.go | |
parent | 9c33b9dc8aa59d414a6697f1e2d036e5581860ee (diff) | |
download | dexon-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar dexon-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar.gz dexon-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar.bz2 dexon-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar.lz dexon-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar.xz dexon-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar.zst dexon-consensus-658662d42d30c58e4f3951f5c1e99688de295397.zip |
core: run DKG and CRS at background. (#155)
Diffstat (limited to 'core/nodeset-cache_test.go')
-rw-r--r-- | core/nodeset-cache_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/nodeset-cache_test.go b/core/nodeset-cache_test.go index 947e239..def8450 100644 --- a/core/nodeset-cache_test.go +++ b/core/nodeset-cache_test.go @@ -20,6 +20,7 @@ package core import ( "testing" + "github.com/dexon-foundation/dexon-consensus-core/common" "github.com/dexon-foundation/dexon-consensus-core/core/crypto" "github.com/dexon-foundation/dexon-consensus-core/core/crypto/ecdsa" "github.com/dexon-foundation/dexon-consensus-core/core/types" @@ -32,7 +33,7 @@ type testGov struct { } func (g *testGov) GetConfiguration(round uint64) (cfg *types.Config) { return } -func (g *testGov) GetCRS(round uint64) (b []byte) { return } +func (g *testGov) GetCRS(round uint64) (b common.Hash) { return } func (g *testGov) ProposeCRS(uint64, []byte) {} func (g *testGov) GetNodeSet(round uint64) []crypto.PublicKey { // Randomly generating keys, and check them for verification. |