mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-27 02:14:25 +00:00
Amount -> Power. Closes #166
This commit is contained in:
@@ -93,7 +93,7 @@ func TestGenesisAndValidators(t *testing.T) {
|
||||
val := vals.Validators[0]
|
||||
|
||||
// make sure the current set is also the genesis set
|
||||
assert.Equal(t, gval.Amount, val.VotingPower)
|
||||
assert.Equal(t, gval.Power, val.VotingPower)
|
||||
assert.Equal(t, gval.PubKey, val.PubKey)
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -90,7 +90,7 @@ func UnsafeDialSeeds(seeds []string) (*ctypes.ResultDialSeeds, error) {
|
||||
// "validators": [
|
||||
// {
|
||||
// "name": "",
|
||||
// "amount": 10,
|
||||
// "power": 10,
|
||||
// "pub_key": {
|
||||
// "data": "68DFDA7E50F82946E7E8546BED37944A422CD1B831E70DF66BA3B8430593944D",
|
||||
// "type": "ed25519"
|
||||
|
||||
Reference in New Issue
Block a user