Simple rename

This commit is contained in:
nicolas.dorier 2024-10-19 22:07:20 +09:00
parent cc0ea0b3f8
commit 4bf0b79c2a
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE
2 changed files with 3 additions and 3 deletions

View File

@ -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)
{

View File

@ -132,7 +132,7 @@ public class LightningAutomatedPayoutProcessor : BaseAutomatedPayoutProcessor<Li
State = payoutData.State,
PayoutId = payoutData.Id,
Proof = payoutData.GetProofBlobJson(),
Blob = updateBlob ? blob : null
UpdateBlob = updateBlob ? blob : null
});
}
return result;