mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-24 18:21:38 +00:00
rename privval#GetAddress and GetPubKey to Address and PubKey
This commit is contained in:
@ -93,6 +93,7 @@ func RandValidator(randPower bool, minPower int64) (*Validator, PrivValidator) {
|
||||
if randPower {
|
||||
votePower += int64(cmn.RandUint32())
|
||||
}
|
||||
val := NewValidator(privVal.GetPubKey(), votePower)
|
||||
val := NewValidator(privVal.PubKey(), votePower)
|
||||
return val, privVal
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user