x/gov: remove alias.go usage (#6432)

This commit is contained in:
dauTT
2020-06-13 11:07:51 +02:00
committed by GitHub
parent c3ff8c0c06
commit 1783f5ef1e
19 changed files with 130 additions and 275 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ package proposal
import (
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/x/gov"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
)
type Codec struct {
@@ -35,7 +35,7 @@ func RegisterCodec(cdc *codec.Codec) {
func RegisterInterfaces(registry types.InterfaceRegistry) {
registry.RegisterImplementations(
(*gov.Content)(nil),
(*govtypes.Content)(nil),
&ParameterChangeProposal{},
)
}