diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-09-27 14:27:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-27 14:27:18 +0800 |
commit | 506014f22faba150cd7197e7dd817e72a914dc84 (patch) | |
tree | 3f61287a4578c31c447cc8d9283fc3c728dd6cb7 /integration_test/utils.go | |
parent | 9c2f700be09c27e8a8d12fc5bc0ccd017d408a32 (diff) | |
download | tangerine-consensus-506014f22faba150cd7197e7dd817e72a914dc84.tar.gz tangerine-consensus-506014f22faba150cd7197e7dd817e72a914dc84.tar.zst tangerine-consensus-506014f22faba150cd7197e7dd817e72a914dc84.zip |
core: update governance interface and config (#145)
1) Remove RoundHeight from config.
2) NotarySet is not from governance contract, we get Node set intead.
Notary set is caculated from the NodeSet using CRS.
3) CRS is not in the governance interface.
Diffstat (limited to 'integration_test/utils.go')
-rw-r--r-- | integration_test/utils.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/integration_test/utils.go b/integration_test/utils.go index 5b414c5..07d41b6 100644 --- a/integration_test/utils.go +++ b/integration_test/utils.go @@ -31,7 +31,7 @@ func PrepareNodes( if err != nil { return } - for nID := range gov.GetNotarySet(0) { + for nID := range gov.GetNodeSet(0) { apps[nID] = test.NewApp() if db, err = blockdb.NewMemBackedBlockDB(); err != nil { @@ -39,7 +39,7 @@ func PrepareNodes( } dbs[nID] = db } - for nID := range gov.GetNotarySet(0) { + for nID := range gov.GetNodeSet(0) { if key, err = gov.GetPrivateKey(nID); err != nil { return } |