fixed typo

This commit is contained in:
Sunny Aggarwal 2018-07-09 18:35:10 -07:00
parent eaf49a2dfb
commit e27b83805a
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 {