make CT last param
MODIFY
WalletWasabi.Backend/Controllers/BatchController.cs
WalletWasabi.Backend/Controllers/BatchController.cs
@@ -40,9 +40,9 @@ public class BatchController : ControllerBase
public async Task<IActionResult> GetSynchronizeAsync(
[FromQuery, Required] string bestKnownBlockHash,
[FromQuery, Required] int maxNumberOfFilters,
- CancellationToken cancellationToken,
[FromQuery] string? estimateSmartFeeMode = nameof(EstimateSmartFeeMode.Conservative),
- [FromQuery] string? indexType = null)
+ [FromQuery] string? indexType = null,
+ CancellationToken cancellationToken = default)
{
bool estimateSmartFee = !string.IsNullOrWhiteSpace(estimateSmartFeeMode);
EstimateSmartFeeMode mode = EstimateSmartFeeMode.Conservative;

MODIFY
WalletWasabi.Backend/Controllers/BlockchainController.cs
WalletWasabi.Backend/Controllers/BlockchainController.cs
@@ -93,7 +93,7 @@ public class BlockchainController : ControllerBase
[ProducesResponseType(200)]
[ProducesResponseType(400)]
[ResponseCache(Duration = 3, Location = ResponseCacheLocation.Client)]
- public async Task<IActionResult> GetMempoolHashesAsync(CancellationToken cancellationToken, [FromQuery] int compactness = 64)
+ public async Task<IActionResult> GetMempoolHashesAsync([FromQuery] int compactness = 64, CancellationToken cancellationToken = default)
{
if (compactness is < 1 or > 64)
{

make CT last param