diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-03-28 18:21:00 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:59 +0800 |
commit | 3cb8ea02990fe36da2498f5df736e2eb1d0f43b2 (patch) | |
tree | bafe34fe0dc4424ee830801aa336289f03d26dff /dex/helper_test.go | |
parent | 08c893f4942ea84ed13ecdd6058bcf39585a4566 (diff) | |
download | dexon-3cb8ea02990fe36da2498f5df736e2eb1d0f43b2.tar.gz dexon-3cb8ea02990fe36da2498f5df736e2eb1d0f43b2.tar.zst dexon-3cb8ea02990fe36da2498f5df736e2eb1d0f43b2.zip |
dex: rebuild connection if dkg reset, core/vm: fix gov (#308)
* dex: rebuild connection if dkg reset
* core: vm: fix governance contract
Diffstat (limited to 'dex/helper_test.go')
-rw-r--r-- | dex/helper_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dex/helper_test.go b/dex/helper_test.go index 1d903a907..1d267d9ae 100644 --- a/dex/helper_test.go +++ b/dex/helper_test.go @@ -221,6 +221,12 @@ func (g *testGovernance) CRSRound() uint64 { return g.lenCRSFunc() } +func (g *testGovernance) DKGResetCount(uint64) uint64 { + return 0 +} + +func (g *testGovernance) PurgeNotarySet(uint64) {} + func (g *testGovernance) NotarySet( round uint64) (map[string]struct{}, error) { return g.notarySetFunc(round) |