mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-18 21:32:27 +01:00
Simple rename
This commit is contained in:
parent
cc0ea0b3f8
commit
4bf0b79c2a
@ -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)
|
||||
{
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user