aboutsummaryrefslogtreecommitdiffstats
path: root/dex/helper_test.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-02-25 19:35:06 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:57 +0800
commitb708ec0f082d431dfe6d56882d58043811647ac7 (patch)
tree575195174be8546146d64b79760288b5f5a8e7b4 /dex/helper_test.go
parente83bcc1097d49b46b79131e546f1270b9192cc05 (diff)
downloaddexon-b708ec0f082d431dfe6d56882d58043811647ac7.tar.gz
dexon-b708ec0f082d431dfe6d56882d58043811647ac7.tar.zst
dexon-b708ec0f082d431dfe6d56882d58043811647ac7.zip
core: vm: flatten governance
Diffstat (limited to 'dex/helper_test.go')
-rw-r--r--dex/helper_test.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/dex/helper_test.go b/dex/helper_test.go
index 3f901e6ec..c8bf62a6b 100644
--- a/dex/helper_test.go
+++ b/dex/helper_test.go
@@ -215,7 +215,11 @@ type testGovernance struct {
dkgSetFunc func(uint64) (map[string]struct{}, error)
}
-func (g *testGovernance) LenCRS() uint64 {
+func (g *testGovernance) Round() uint64 {
+ return g.lenCRSFunc()
+}
+
+func (g *testGovernance) CRSRound() uint64 {
return g.lenCRSFunc()
}