This commit is contained in:
Kukks
2024-04-09 12:28:25 +02:00
parent d00a9d7b96
commit 71cb4c3f82
2 changed files with 10 additions and 3 deletions

View File

@@ -13,7 +13,7 @@
<PropertyGroup>
<Product>Coinjoin</Product>
<Description>Allows you to integrate your btcpayserver store with coinjoins.</Description>
<Version>1.0.75</Version>
<Version>1.0.76</Version>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>

View File

@@ -108,8 +108,15 @@ public class WabisabiCoordinatorClientInstanceManager:IHostedService
{
if (termsConditions is null && name == "zksnacks")
{
termsConditions = new HttpClient().GetStringAsync("https://wasabiwallet.io/api/v4/Wasabi/legaldocuments?id=ww2")
.Result;
try
{
termsConditions = new HttpClient().GetStringAsync("https://wasabiwallet.io/api/v4/Wasabi/legaldocuments?id=ww2")
.Result;
}
catch (Exception e)
{
}
}
if (HostedServices.ContainsKey(name))