create an account only if not found in gdbm

This commit is contained in:
Carlosokumu 2024-09-07 10:36:00 +03:00
parent d1d5c897d1
commit 4c3f63a48f
Signed by untrusted user: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -177,11 +177,6 @@ func (h *Handlers) CreateAccount(ctx context.Context, sym string, input []byte)
if err != nil {
return res, err
}
} else {
err = h.createAccountNoExist(ctx, sessionId, &res)
if err != nil {
return res, err
}
}
}
return res, nil