diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-02-25 19:35:06 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:57 +0800 |
commit | b708ec0f082d431dfe6d56882d58043811647ac7 (patch) | |
tree | 575195174be8546146d64b79760288b5f5a8e7b4 /dex/helper_test.go | |
parent | e83bcc1097d49b46b79131e546f1270b9192cc05 (diff) | |
download | dexon-b708ec0f082d431dfe6d56882d58043811647ac7.tar dexon-b708ec0f082d431dfe6d56882d58043811647ac7.tar.gz dexon-b708ec0f082d431dfe6d56882d58043811647ac7.tar.bz2 dexon-b708ec0f082d431dfe6d56882d58043811647ac7.tar.lz dexon-b708ec0f082d431dfe6d56882d58043811647ac7.tar.xz dexon-b708ec0f082d431dfe6d56882d58043811647ac7.tar.zst dexon-b708ec0f082d431dfe6d56882d58043811647ac7.zip |
core: vm: flatten governance
Diffstat (limited to 'dex/helper_test.go')
-rw-r--r-- | dex/helper_test.go | 6 |
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() } |