Skip to content

Commit

Permalink
fix(x/accounts): remove double execute (#20065)
Browse files Browse the repository at this point in the history
  • Loading branch information
sontrinh16 authored Apr 17, 2024
1 parent 2301e5e commit eeefcf9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/accounts/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eeefcf9

Please sign in to comment.