`Startup`: Register `Arena` instead of `ArenaRequestHandler`.
MODIFY
WalletWasabi.Backend/Startup.cs
WalletWasabi.Backend/Startup.cs
@@ -19,6 +19,7 @@ using WalletWasabi.Interfaces;
using WalletWasabi.Logging;
using WalletWasabi.WabiSabi;
using WalletWasabi.WabiSabi.Backend.PostRequests;
+using WalletWasabi.WabiSabi.Backend.Rounds;
using WalletWasabi.WabiSabi.Models.Serialization;
using WalletWasabi.WebClients;
@@ -72,11 +73,11 @@ namespace WalletWasabi.Backend
services.AddSingleton<IExchangeRateProvider>(new ExchangeRateProvider());
services.AddSingleton(new Global(Configuration["datadir"]));
- services.AddSingleton<ArenaRequestHandler>(serviceProvider =>
+ services.AddSingleton(serviceProvider =>
{
var global = serviceProvider.GetRequiredService<Global>();
var coordinator = global.HostedServices.Get<WabiSabiCoordinator>();
- return coordinator.Postman;
+ return coordinator.Arena;
});
services.AddStartupTask<InitConfigStartupTask>();

`Startup`: Register `Arena` instead of `ArenaRequestHandler`.