- | @dest |
+ @dest |
@(balance / 1000m) |
@if (UpdatingDestination == dest)
@@ -36,7 +36,7 @@
@if (PendingPayouts?.Any() is true)
{
-
+
Pending Payouts
diff --git a/Plugins/BTCPayServer.Plugins.Prism/SatBreaker.cs b/Plugins/BTCPayServer.Plugins.Prism/SatBreaker.cs
index ab1e85d..c34e219 100644
--- a/Plugins/BTCPayServer.Plugins.Prism/SatBreaker.cs
+++ b/Plugins/BTCPayServer.Plugins.Prism/SatBreaker.cs
@@ -340,14 +340,12 @@ var onChainCatchAllIdentifier = "*"+ PaymentTypes.BTCLike.ToStringNormalized();
}
else
{
- if (pmd is null)
- {
- pm = invoiceEvent.Invoice.GetPaymentMethod(new PaymentMethodId("BTC", PaymentTypes.LightningLike));
- }
+ pm = invoiceEvent.Invoice.GetPaymentMethod(invoiceEvent.Invoice.GetPayments(true)
+ .FirstOrDefault()?.GetPaymentMethodId());
prism = catchAllPrism;
}
var splits = prism?.Destinations;
- if (splits?.Any() is not true)
+ if (splits?.Any() is not true || pm is null)
{
return;
}
diff --git a/Plugins/BTCPayServer.Plugins.Wabisabi/WasabiCoordinatorStatusFetcher.cs b/Plugins/BTCPayServer.Plugins.Wabisabi/WasabiCoordinatorStatusFetcher.cs
index 1d4996b..4536cac 100644
--- a/Plugins/BTCPayServer.Plugins.Wabisabi/WasabiCoordinatorStatusFetcher.cs
+++ b/Plugins/BTCPayServer.Plugins.Wabisabi/WasabiCoordinatorStatusFetcher.cs
@@ -46,8 +46,7 @@ public class WasabiCoordinatorStatusFetcher : PeriodicRunner, IWasabiBackendStat
catch (Exception e)
{
Connected = false;
- _logger.LogError(e, "Could not connect to the coordinator");
- throw;
+ throw new Exception("Could not connect to the coordinator", e);
}
}
}
|