diff options
Diffstat (limited to 'integration_test/consensus_test.go')
-rw-r--r-- | integration_test/consensus_test.go | 4 |
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() { |