From eeefcf96006bd47126053a169f559ee740edda73 Mon Sep 17 00:00:00 2001 From: son trinh Date: Wed, 17 Apr 2024 15:00:22 +0700 Subject: [PATCH] fix(x/accounts): remove double execute (#20065) --- x/accounts/keeper.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/x/accounts/keeper.go b/x/accounts/keeper.go index 6dd4004d7b0f..45cb44422483 100644 --- a/x/accounts/keeper.go +++ b/x/accounts/keeper.go @@ -329,8 +329,7 @@ func (k Keeper) SendModuleMessageUntyped(ctx context.Context, sender []byte, msg return nil, err } - // send the message - return resp, k.sendModuleMessage(ctx, sender, msg, resp) + return resp, err } // sendModuleMessage can be used to send a message towards a module. It expects the