diff options
Diffstat (limited to 'core/consensus_test.go')
-rw-r--r-- | core/consensus_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/consensus_test.go b/core/consensus_test.go index bd95a00..2b71d6b 100644 --- a/core/consensus_test.go +++ b/core/consensus_test.go @@ -112,7 +112,7 @@ func (s *ConsensusTestSuite) TestSimpleDeliverBlock() { ) s.Require().Nil(err) - for nID := range gov.GetNotarySet() { + for nID := range gov.GetNotarySet(0) { nodes = append(nodes, nID) } @@ -328,7 +328,7 @@ func (s *ConsensusTestSuite) TestPrepareBlock() { nodes []types.NodeID ) s.Require().Nil(err) - for nID := range gov.GetNotarySet() { + for nID := range gov.GetNotarySet(0) { nodes = append(nodes, nID) } // Setup core.Consensus and test.App. @@ -375,7 +375,7 @@ func (s *ConsensusTestSuite) TestPrepareGenesisBlock() { nodes []types.NodeID ) s.Require().Nil(err) - for nID := range gov.GetNotarySet() { + for nID := range gov.GetNotarySet(0) { nodes = append(nodes, nID) } _, con := s.prepareConsensus(gov, nodes[0]) |