aboutsummaryrefslogtreecommitdiffstats
path: root/integration_test/non-byzantine_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integration_test/non-byzantine_test.go')
-rw-r--r--integration_test/non-byzantine_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/integration_test/non-byzantine_test.go b/integration_test/non-byzantine_test.go
index a5ecff6..34c6be1 100644
--- a/integration_test/non-byzantine_test.go
+++ b/integration_test/non-byzantine_test.go
@@ -41,17 +41,17 @@ func (s *NonByzantineTestSuite) TestNonByzantine() {
Sigma: 30,
Mean: 500,
}
- apps = make(map[types.ValidatorID]*test.App)
- dbs = make(map[types.ValidatorID]blockdb.BlockDatabase)
+ apps = make(map[types.NodeID]*test.App)
+ dbs = make(map[types.NodeID]blockdb.BlockDatabase)
req = s.Require()
)
- apps, dbs, validators, err := PrepareValidators(
+ apps, dbs, nodes, err := PrepareNodes(
25, networkLatency, proposingLatency)
req.Nil(err)
now := time.Now().UTC()
sch := test.NewScheduler(test.NewStopByConfirmedBlocks(50, apps, dbs))
- for vID, v := range validators {
+ for vID, v := range nodes {
sch.RegisterEventHandler(vID, v)
req.Nil(sch.Seed(NewProposeBlockEvent(vID, now)))
}