Merge PR #2714: Add commission data to MsgCreateValidator signature bytes

This commit is contained in:
Alexander Bezobchuk 2018-11-07 07:55:59 -05:00 committed by Christopher Goes
parent c7b3efdd02
commit 8f690b5b6c
2 changed files with 2 additions and 0 deletions

View File

@ -72,5 +72,6 @@ BUG FIXES
- \#2625 [x/gov] fix AppendTag function usage error
- \#2677 [x/stake, x/distribution] various staking/distribution fixes as found by the simulator
- \#2674 [types] Fix coin.IsLT() impl, coins.IsLT() impl, and renamed coins.Is\* to coins.IsAll\* (see \#2686)
- \#2711 [x/stake] Add commission data to `MsgCreateValidator` signature bytes.
* Tendermint

View File

@ -68,6 +68,7 @@ func (msg MsgCreateValidator) GetSigners() []sdk.AccAddress {
func (msg MsgCreateValidator) GetSignBytes() []byte {
b, err := MsgCdc.MarshalJSON(struct {
Description
Commission CommissionMsg
DelegatorAddr sdk.AccAddress `json:"delegator_address"`
ValidatorAddr sdk.ValAddress `json:"validator_address"`
PubKey string `json:"pubkey"`