chore: fix linting issues exposed by fixing golangci-lint (#12895)
Co-authored-by: Marko <marbar3778@yahoo.com> Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
Marko
Julien Robert
parent
15b04c2a87
commit
0943a70215
@@ -6,13 +6,12 @@ can be (de)serialized properly.
|
||||
Amino types should be ideally registered inside this codec within the init function of each module's
|
||||
codec.go file as follows:
|
||||
|
||||
func init() {
|
||||
// ...
|
||||
func init() {
|
||||
// ...
|
||||
|
||||
RegisterLegacyAminoCodec(authzcodec.Amino)
|
||||
}
|
||||
RegisterLegacyAminoCodec(authzcodec.Amino)
|
||||
}
|
||||
|
||||
The codec instance is put inside this package and not the x/authz package in order to avoid any dependency cycle.
|
||||
|
||||
*/
|
||||
package codec
|
||||
|
||||
Reference in New Issue
Block a user