aboutsummaryrefslogtreecommitdiffstats
path: root/dex/helper_test.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-03-28 18:21:00 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-15 22:09:55 +0800
commit4efc1cf485200000420bd79638139eb5383641ae (patch)
treeae0069fd1b9ec056f1f4a39e4553bdd1f3c32c0f /dex/helper_test.go
parentd2bfae48e7f490e803bf09579c021c7720159fc1 (diff)
downloadgo-tangerine-4efc1cf485200000420bd79638139eb5383641ae.tar
go-tangerine-4efc1cf485200000420bd79638139eb5383641ae.tar.gz
go-tangerine-4efc1cf485200000420bd79638139eb5383641ae.tar.bz2
go-tangerine-4efc1cf485200000420bd79638139eb5383641ae.tar.lz
go-tangerine-4efc1cf485200000420bd79638139eb5383641ae.tar.xz
go-tangerine-4efc1cf485200000420bd79638139eb5383641ae.tar.zst
go-tangerine-4efc1cf485200000420bd79638139eb5383641ae.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.go6
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)