small fixes to ss and wabi

This commit is contained in:
Kukks
2023-10-31 14:12:43 +01:00
parent 04c4fa0cf7
commit 64dc8501ae
7 changed files with 266 additions and 295 deletions

View File

@@ -25,7 +25,7 @@ public class PrismClaimCreate : IPluginHookFilter
var network = _networkProvider.GetNetwork<BTCPayNetwork>("BTC");
if (args is not ClaimRequest claimRequest || network is null)
{
return Task.FromResult(args);
return args;
}
if (claimRequest.Destination?.ToString() is not { } args1 || !args1.StartsWith("sideshift:")) return args;