From addfdda438c9ce9be25988c1a3b6e1d9d631385d Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Wed, 7 Nov 2018 07:39:12 -0500 Subject: [PATCH] Add commission data to MsgCreateValidator signature bytes --- PENDING.md | 1 + x/stake/types/msg.go | 1 + 2 files changed, 2 insertions(+) diff --git a/PENDING.md b/PENDING.md index 7a4f32a62b9a..8b2044ea29ee 100644 --- a/PENDING.md +++ b/PENDING.md @@ -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 diff --git a/x/stake/types/msg.go b/x/stake/types/msg.go index da7d684de71d..63d0afb5fbd1 100644 --- a/x/stake/types/msg.go +++ b/x/stake/types/msg.go @@ -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"`