Add bundle backtest refact + fix whitelist
This commit is contained in:
@@ -64,8 +64,17 @@ public class UserService : IUserService
|
||||
throw new Exception($"Address {recoveredAddress} not corresponding");
|
||||
}
|
||||
|
||||
User user = null;
|
||||
|
||||
// Check if account exist
|
||||
var user = await _userRepository.GetUserByNameAsync(name);
|
||||
try
|
||||
{
|
||||
user = await _userRepository.GetUserByNameAsync(name);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Console.WriteLine(e);
|
||||
}
|
||||
|
||||
if (user != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user