From 4bf0b79c2ad1c39fb4ab018181f5d55e0f3d3a9c Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sat, 19 Oct 2024 22:07:20 +0900 Subject: [PATCH] Simple rename --- BTCPayServer/HostedServices/PullPaymentHostedService.cs | 4 ++-- .../Lightning/LightningAutomatedPayoutProcessor.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BTCPayServer/HostedServices/PullPaymentHostedService.cs b/BTCPayServer/HostedServices/PullPaymentHostedService.cs index 8748d8f78..b9afa070b 100644 --- a/BTCPayServer/HostedServices/PullPaymentHostedService.cs +++ b/BTCPayServer/HostedServices/PullPaymentHostedService.cs @@ -588,7 +588,7 @@ namespace BTCPayServer.HostedServices break; } payout.State = req.Request.State; - if (req.Request.Blob is { } b) + if (req.Request.UpdateBlob is { } b) payout.SetBlob(b, _jsonSerializerSettings); await ctx.SaveChangesAsync(); _eventAggregator.Publish(new PayoutEvent(PayoutEvent.PayoutEventType.Updated, payout)); @@ -939,7 +939,7 @@ namespace BTCPayServer.HostedServices public string PayoutId { get; set; } public JObject Proof { get; set; } public PayoutState State { get; set; } = PayoutState.Completed; - public PayoutBlob Blob { get; internal set; } + public PayoutBlob UpdateBlob { get; internal set; } public static string GetErrorMessage(PayoutPaidResult result) { diff --git a/BTCPayServer/PayoutProcessors/Lightning/LightningAutomatedPayoutProcessor.cs b/BTCPayServer/PayoutProcessors/Lightning/LightningAutomatedPayoutProcessor.cs index 91b1f77b4..3b1b8ea92 100644 --- a/BTCPayServer/PayoutProcessors/Lightning/LightningAutomatedPayoutProcessor.cs +++ b/BTCPayServer/PayoutProcessors/Lightning/LightningAutomatedPayoutProcessor.cs @@ -132,7 +132,7 @@ public class LightningAutomatedPayoutProcessor : BaseAutomatedPayoutProcessor