Skip to content

Commit

Permalink
fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel committed Oct 27, 2022
1 parent 0ae42ed commit b8fb229
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions tests/difference/core/driver/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,17 +334,10 @@ func (b *Builder) createValidators() (*tmtypes.ValidatorSet, map[string]tmtypes.
if b.initState.ValStates.Status[i] != stakingtypes.Bonded {
continue
}
// TODO: I think I can get in here and mimic this, and then things
// should work.

validatorKeyData := b.getValidatorKeyData(i)

signers[validatorKeyData.pubKey.Address().String()] = validatorKeyData.signer
addresses = append(addresses, validatorKeyData.address)

// Save signer
signers[validatorKeyData.address.String()] = validatorKeyData.signer

// Save validator with power
validators = append(validators, tmtypes.NewValidator(validatorKeyData.pubKey, int64(power)))
}

Expand Down

0 comments on commit b8fb229

Please sign in to comment.