aboutsummaryrefslogtreecommitdiffstats
path: root/dex
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-04-01 22:03:46 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-15 22:09:55 +0800
commit8012e32fb72dc05cfa995d2934569b9411871395 (patch)
treee68c957e804f6375154be619bf9a6bd855736350 /dex
parent982a812904ae3b1ccd99bc82efbd08ac70ec490b (diff)
downloadgo-tangerine-8012e32fb72dc05cfa995d2934569b9411871395.tar.gz
go-tangerine-8012e32fb72dc05cfa995d2934569b9411871395.tar.zst
go-tangerine-8012e32fb72dc05cfa995d2934569b9411871395.zip
dexcon: correctly fine DKGSet for not producing blocks (#325)
Diffstat (limited to 'dex')
-rw-r--r--dex/downloader/testchain_test.go2
-rw-r--r--dex/recovery.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/dex/downloader/testchain_test.go b/dex/downloader/testchain_test.go
index b59a83b2c..e5c5e4d23 100644
--- a/dex/downloader/testchain_test.go
+++ b/dex/downloader/testchain_test.go
@@ -343,6 +343,6 @@ func (g *govStateFetcher) GetStateForConfigAtRound(round uint64) *vm.GovernanceS
return nil
}
-func (g *govStateFetcher) NotarySetNodeKeyAddresses(round uint64) (map[common.Address]struct{}, error) {
+func (g *govStateFetcher) DKGSetNodeKeyAddresses(round uint64) (map[common.Address]struct{}, error) {
return make(map[common.Address]struct{}), nil
}
diff --git a/dex/recovery.go b/dex/recovery.go
index adeb1f612..72d3a5376 100644
--- a/dex/recovery.go
+++ b/dex/recovery.go
@@ -479,7 +479,7 @@ func (r *Recovery) Votes(height uint64) (uint64, error) {
return 0, err
}
- notarySet, err := r.gov.NotarySetNodeKeyAddresses(r.gov.Round())
+ notarySet, err := r.gov.DKGSetNodeKeyAddresses(r.gov.Round())
if err != nil {
return 0, err
}