Merge PR #3394: Update staking string types

This commit is contained in:
frog power 4000 2019-01-25 06:12:04 -05:00 committed by Christopher Goes
parent dc75eb4eb8
commit 6b02e08160
2 changed files with 7 additions and 7 deletions

View File

@ -78,10 +78,10 @@ func DefaultParams() Params {
// String returns a human readable string representation of the parameters. // String returns a human readable string representation of the parameters.
func (p Params) String() string { func (p Params) String() string {
return fmt.Sprintf(`Params: return fmt.Sprintf(`Params:
Unbonding Time: %s) Unbonding Time: %s
Max Validators: %d) Max Validators: %d
Max Entries: %d) Max Entries: %d
Bonded Coin Denomination: %s`, p.UnbondingTime, Bonded Coin Denom: %s`, p.UnbondingTime,
p.MaxValidators, p.MaxEntries, p.BondDenom) p.MaxValidators, p.MaxEntries, p.BondDenom)
} }