Add test wallets
This commit is contained in:
@@ -11,7 +11,7 @@ public class UserService : IUserService
|
||||
private readonly IUserRepository _userRepository;
|
||||
private readonly IAccountService _accountService;
|
||||
|
||||
private string[] authorizedAddresses = new string[] { "0x6781920674dA695aa5120d95D80c4B1788046806" };
|
||||
private string[] authorizedAddresses = ["0x6781920674dA695aa5120d95D80c4B1788046806", "0xA2B43AFF0992a47838DF2e6099A8439981f0B717"];
|
||||
|
||||
public UserService(
|
||||
IEvmManager evmManager,
|
||||
@@ -29,7 +29,7 @@ public class UserService : IUserService
|
||||
|
||||
if (!authorizedAddresses.Contains(recoveredAddress))
|
||||
throw new Exception("Address not authorized");
|
||||
|
||||
|
||||
if (recoveredAddress == null || !recoveredAddress.Equals(address))
|
||||
throw new Exception("Address not corresponding");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user