diff --git a/x/stake/client/rest/query.go b/x/stake/client/rest/query.go index a2893ee9b7..f5a17c7850 100644 --- a/x/stake/client/rest/query.go +++ b/x/stake/client/rest/query.go @@ -231,7 +231,7 @@ type StakeValidatorOutput struct { Commission sdk.Rat `json:"commission"` // XXX the commission rate of fees charged to any delegators CommissionMax sdk.Rat `json:"commission_max"` // XXX maximum commission rate which this validator can ever charge - CommissionChangeRate sdk.Rat `json:"commisrsion_change_rate"` // XXX maximum daily increase of the validator commission + CommissionChangeRate sdk.Rat `json:"commission_change_rate"` // XXX maximum daily increase of the validator commission CommissionChangeToday sdk.Rat `json:"commission_change_today"` // XXX commission rate change today, reset each day (UTC time) // fee related diff --git a/x/stake/types/msg.go b/x/stake/types/msg.go index b179894577..12abb1e026 100644 --- a/x/stake/types/msg.go +++ b/x/stake/types/msg.go @@ -219,8 +219,8 @@ func (msg MsgBeginRedelegate) GetSignBytes() []byte { SharesAmount string `json:"shares"` }{ DelegatorAddr: msg.DelegatorAddr, - ValidatorSrcAddr: msg.ValidatorSrcAddr.Bytes(), - ValidatorDstAddr: msg.ValidatorDstAddr.Bytes(), + ValidatorSrcAddr: msg.ValidatorSrcAddr, + ValidatorDstAddr: msg.ValidatorDstAddr, SharesAmount: msg.SharesAmount.String(), }) if err != nil {