aboutsummaryrefslogtreecommitdiffstats
path: root/integration_test/consensus_test.go
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2019-01-24 11:16:48 +0800
committerGitHub <noreply@github.com>2019-01-24 11:16:48 +0800
commit779f63a9f6fc3f4c628f0b97c822546ac51d0eb6 (patch)
treeaa25f260483e8c9430686cb10eba87d286072830 /integration_test/consensus_test.go
parent0e6dc8b38f7df249831aebd4928ec42b827038e3 (diff)
downloaddexon-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar
dexon-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar.gz
dexon-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar.bz2
dexon-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar.lz
dexon-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar.xz
dexon-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar.zst
dexon-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.zip
core: remove Governance.NotifyRoundHeight (#431)
Diffstat (limited to 'integration_test/consensus_test.go')
-rw-r--r--integration_test/consensus_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration_test/consensus_test.go b/integration_test/consensus_test.go
index fc6bb47..8af118b 100644
--- a/integration_test/consensus_test.go
+++ b/integration_test/consensus_test.go
@@ -76,9 +76,9 @@ func (s *ConsensusTestSuite) setupNodes(
)
gov := seedGov.Clone()
gov.SwitchToRemoteMode(networkModule)
- gov.NotifyRoundHeight(0, 0)
+ gov.NotifyRound(0)
networkModule.AddNodeSetCache(utils.NewNodeSetCache(gov))
- app := test.NewApp(gov.State())
+ app := test.NewApp(1, gov)
nID := types.NewNodeID(k.PublicKey())
nodes[nID] = &node{nID, nil, app, gov, dbInst, networkModule}
go func() {