diff --git a/x/group/keeper/msg_server.go b/x/group/keeper/msg_server.go index 7b94f13ddd9e..e031c1610e06 100644 --- a/x/group/keeper/msg_server.go +++ b/x/group/keeper/msg_server.go @@ -266,7 +266,8 @@ func (k Keeper) CreateGroupAccount(goCtx context.Context, req *group.MsgCreateGr var buf = make([]byte, 8) binary.BigEndian.PutUint64(buf, nextAccVal) - accountAddr = address.Module(group.ModuleName, buf) + parentAcc := address.Module(group.ModuleName, []byte{GroupAccountTablePrefix}) + accountAddr = address.Derive(parentAcc, buf) if k.accKeeper.GetAccount(ctx, accountAddr) != nil { // handle a rare collision