Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch auth register cdc #5892

Merged
merged 12 commits into from
Mar 30, 2020
Prev Previous commit
Next Next commit
remove seal
  • Loading branch information
fedekunze committed Mar 30, 2020
commit c2e00ebd34a251bb59b2dee98df60b6aa123b942
3 changes: 1 addition & 2 deletions x/auth/types/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func RegisterCodec(cdc *codec.Codec) {
// RegisterAccountTypeCodec registers an external account type defined in
fedekunze marked this conversation as resolved.
Show resolved Hide resolved
// another module for the internal ModuleCdc.
func RegisterAccountTypeCodec(o interface{}, name string) {
amino.RegisterConcrete(o, name, nil)
amino.RegisterConcrete(o, name, nil)
}

var (
Expand All @@ -47,5 +47,4 @@ var (
func init() {
RegisterCodec(amino)
codec.RegisterCrypto(amino)
amino.Seal()
}