From 779f63a9f6fc3f4c628f0b97c822546ac51d0eb6 Mon Sep 17 00:00:00 2001 From: Mission Liao Date: Thu, 24 Jan 2019 11:16:48 +0800 Subject: core: remove Governance.NotifyRoundHeight (#431) --- integration_test/consensus_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'integration_test/consensus_test.go') 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() { -- cgit v1.2.3