Merge PR #6043: Fix some lcd test failures in gaia
This commit is contained in:
parent
c15f112cf1
commit
71c62a432f
|
@ -219,7 +219,7 @@ func QueryProposerByTxQuery(cliCtx context.CLIContext, proposalID uint64) (Propo
|
|||
for _, msg := range info.Tx.GetMsgs() {
|
||||
// there should only be a single proposal under the given conditions
|
||||
if msg.Type() == types.TypeMsgSubmitProposal {
|
||||
subMsg := msg.(types.MsgSubmitProposal)
|
||||
subMsg := msg.(*types.MsgSubmitProposal)
|
||||
return NewProposer(proposalID, subMsg.Proposer.String()), nil
|
||||
}
|
||||
}
|
||||
|
|
|
@ -194,8 +194,8 @@ var _ MsgSubmitProposalI = &MsgSubmitProposal{}
|
|||
// NewMsgSubmitProposal returns a (deprecated) MsgSubmitProposal message.
|
||||
//
|
||||
// TODO: Remove once client-side Protobuf migration has been completed.
|
||||
func NewMsgSubmitProposal(content Content, initialDeposit sdk.Coins, proposer sdk.AccAddress) MsgSubmitProposal {
|
||||
return MsgSubmitProposal{content, initialDeposit, proposer}
|
||||
func NewMsgSubmitProposal(content Content, initialDeposit sdk.Coins, proposer sdk.AccAddress) *MsgSubmitProposal {
|
||||
return &MsgSubmitProposal{content, initialDeposit, proposer}
|
||||
}
|
||||
|
||||
// ValidateBasic implements Msg
|
||||
|
|
Loading…
Reference in New Issue