x/gov: remove alias.go usage (#6432)
This commit is contained in:
@@ -15,7 +15,7 @@ import (
|
||||
"github.com/cosmos/cosmos-sdk/version"
|
||||
"github.com/cosmos/cosmos-sdk/x/distribution/client/common"
|
||||
"github.com/cosmos/cosmos-sdk/x/distribution/types"
|
||||
"github.com/cosmos/cosmos-sdk/x/gov"
|
||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -276,7 +276,7 @@ Where proposal.json contains:
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
msg, err := gov.NewMsgSubmitProposal(content, deposit, from)
|
||||
msg, err := govtypes.NewMsgSubmitProposal(content, deposit, from)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user