Skip to content

Commit 573d48b

Browse files
committed
Fix bug for validator query
1 parent d5e99c6 commit 573d48b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/stake/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ func ConvertValidatorToValidatorOutput(cliCtx context.CLIContext, v stake.Valida
156156
Tokens: utils.ConvertDecToRat(v.Tokens).Mul(exRate).FloatString(),
157157
DelegatorShares: utils.ConvertDecToRat(v.DelegatorShares).Mul(exRate).FloatString(),
158158
Description: v.Description,
159-
BondHeight: v.UnbondingHeight,
159+
BondHeight: v.BondHeight,
160160
UnbondingHeight: v.UnbondingHeight,
161161
UnbondingMinTime: v.UnbondingMinTime,
162162
Commission: commission,

0 commit comments

Comments
 (0)