feat(staking)!: add consensus and validator address codec in staking (#16959)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
This commit is contained in:
co-authored by
Facundo Medica
parent
b1ac5768f7
commit
e0be2b80fc
@@ -46,7 +46,6 @@ func Example() {
|
||||
authtypes.ProtoBaseAccount,
|
||||
map[string][]string{minttypes.ModuleName: {authtypes.Minter}},
|
||||
addresscodec.NewBech32Codec("cosmos"),
|
||||
addresscodec.NewBech32Codec("cosmosvaloper"),
|
||||
"cosmos",
|
||||
authority,
|
||||
)
|
||||
@@ -136,7 +135,6 @@ func Example_oneModule() {
|
||||
authtypes.ProtoBaseAccount,
|
||||
map[string][]string{minttypes.ModuleName: {authtypes.Minter}},
|
||||
addresscodec.NewBech32Codec("cosmos"),
|
||||
addresscodec.NewBech32Codec("cosmosvaloper"),
|
||||
"cosmos",
|
||||
authority,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user