Remove named return

This commit is contained in:
Aleksandr Bezobchuk 2020-03-03 20:29:34 -05:00
parent 94103b92d5
commit 430739c2b8
No known key found for this signature in database
GPG Key ID: 7DAC30FBD99879B0
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ func (keeper Keeper) SubmitProposal(ctx sdk.Context, content types.Content) (typ
}
// GetProposal get proposal from store by ProposalID
func (keeper Keeper) GetProposal(ctx sdk.Context, proposalID uint64) (proposal types.Proposal, ok bool) {
func (keeper Keeper) GetProposal(ctx sdk.Context, proposalID uint64) (types.Proposal, bool) {
store := ctx.KVStore(keeper.storeKey)
bz := store.Get(types.ProposalKey(proposalID))