From 2eba77faa3c75ad13f158925be81be26524be193 Mon Sep 17 00:00:00 2001 From: Facundo Date: Mon, 11 Dec 2023 11:41:09 +0100 Subject: [PATCH] fix msg send sim --- x/bank/module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/bank/module.go b/x/bank/module.go index 9baae17da419..67889d2a5dfd 100644 --- a/x/bank/module.go +++ b/x/bank/module.go @@ -226,7 +226,7 @@ func ProvideModule(in ModuleInputs) ModuleOutputs { } } else { for _, permission := range in.AccountKeeper.GetModulePermissions() { - addrStr, err := in.AccountKeeper.AddressCodec().BytesToString(authtypes.NewModuleAddress(string(permission.GetAddress()))) + addrStr, err := in.AccountKeeper.AddressCodec().BytesToString(permission.GetAddress()) if err != nil { panic(err) }