Skip to content

Commit eeefcf9

Browse files
authored
fix(x/accounts): remove double execute (#20065)
1 parent 2301e5e commit eeefcf9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

x/accounts/keeper.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,7 @@ func (k Keeper) SendModuleMessageUntyped(ctx context.Context, sender []byte, msg
329329
return nil, err
330330
}
331331

332-
// send the message
333-
return resp, k.sendModuleMessage(ctx, sender, msg, resp)
332+
return resp, err
334333
}
335334

336335
// sendModuleMessage can be used to send a message towards a module. It expects the

0 commit comments

Comments
 (0)