aboutsummaryrefslogtreecommitdiffstats
path: root/integration_test
diff options
context:
space:
mode:
Diffstat (limited to 'integration_test')
-rw-r--r--integration_test/utils.go4
-rw-r--r--integration_test/validator.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/integration_test/utils.go b/integration_test/utils.go
index 57bb2bc..c526bc2 100644
--- a/integration_test/utils.go
+++ b/integration_test/utils.go
@@ -31,7 +31,7 @@ func PrepareValidators(
if err != nil {
return
}
- for vID := range gov.GetValidatorSet() {
+ for vID := range gov.GetNotarySet() {
apps[vID] = test.NewApp()
if db, err = blockdb.NewMemBackedBlockDB(); err != nil {
@@ -39,7 +39,7 @@ func PrepareValidators(
}
dbs[vID] = db
}
- for vID := range gov.GetValidatorSet() {
+ for vID := range gov.GetNotarySet() {
if key, err = gov.GetPrivateKey(vID); err != nil {
return
}
diff --git a/integration_test/validator.go b/integration_test/validator.go
index 18e5c00..112f986 100644
--- a/integration_test/validator.go
+++ b/integration_test/validator.go
@@ -83,7 +83,7 @@ func NewValidator(
proposingLatency test.LatencyModel) *Validator {
hashes := make(common.Hashes, 0)
- for vID := range gov.GetValidatorSet() {
+ for vID := range gov.GetNotarySet() {
hashes = append(hashes, vID.Hash)
}
sort.Sort(hashes)
@@ -137,7 +137,7 @@ func (v *Validator) handleProposeBlock(when time.Time, piggyback interface{}) (
return
}
// Create 'block received' event for each other validators.
- for vID := range v.gov.GetValidatorSet() {
+ for vID := range v.gov.GetNotarySet() {
if vID == v.ID {
continue
}