Update WalletWasabi.Backend/Filters/IdempotentActionFilterAttributeImpl.cs
MODIFY
WalletWasabi.Backend/Filters/IdempotentActionFilterAttributeImpl.cs
WalletWasabi.Backend/Filters/IdempotentActionFilterAttributeImpl.cs
@@ -76,10 +76,7 @@ namespace WalletWasabi.Backend.Filters
// Request failed for some reason, we don't want to hold any other requests that wait for this one request to finish.
if (executed.Exception != null && !executed.ExceptionHandled)
{
- if (responseTcs is not null)
- {
- responseTcs.TrySetCanceled();
- }
+ responseTcs?.TrySetCanceled();
}
}
else

Update WalletWasabi.Backend/Filters/IdempotentActionFilterAttributeImpl.cs

Co-authored-by: Lucas Ontivero <lontivero@users.noreply.github.com>