mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Update NBitcoin, fix warnings on nullable (#2718)
This commit is contained in:
@@ -270,7 +270,7 @@ namespace BTCPayServer.HostedServices
|
||||
await Task.Delay(wait, CancellationToken);
|
||||
ctx = await CreateRedeliveryRequest(originalDeliveryId);
|
||||
// This may have changed
|
||||
if (!ctx.WebhookBlob.AutomaticRedelivery ||
|
||||
if (ctx is null || !ctx.WebhookBlob.AutomaticRedelivery ||
|
||||
!ShouldDeliver(ctx.WebhookEvent.Type, ctx.WebhookBlob))
|
||||
break;
|
||||
result = await SendAndSaveDelivery(ctx);
|
||||
|
||||
Reference in New Issue
Block a user