From 5e438b84e182d91562bb95e0a04b0d938e57fb28 Mon Sep 17 00:00:00 2001 From: jackstar12 <62219658+jackstar12@users.noreply.github.com> Date: Tue, 5 Nov 2024 09:54:58 +0100 Subject: [PATCH] chore: rm unnecessary try catch block (#6359) this one is redundant since the calls to `Pay` and `GetPayment` are inside their own try catch blocks now --- .../LightningAutomatedPayoutProcessor.cs | 165 ++++++++---------- 1 file changed, 74 insertions(+), 91 deletions(-) diff --git a/BTCPayServer/PayoutProcessors/Lightning/LightningAutomatedPayoutProcessor.cs b/BTCPayServer/PayoutProcessors/Lightning/LightningAutomatedPayoutProcessor.cs index 5b1035f86..557a0c73e 100644 --- a/BTCPayServer/PayoutProcessors/Lightning/LightningAutomatedPayoutProcessor.cs +++ b/BTCPayServer/PayoutProcessors/Lightning/LightningAutomatedPayoutProcessor.cs @@ -224,108 +224,91 @@ public class LightningAutomatedPayoutProcessor : BaseAutomatedPayoutProcessor