Remove named return
This commit is contained in:
parent
94103b92d5
commit
430739c2b8
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue