Use range operator to remove the error reported by an analyzer
MODIFY
WalletWasabi.Backend/Controllers/BlockchainController.cs
WalletWasabi.Backend/Controllers/BlockchainController.cs
@@ -103,7 +103,7 @@ namespace WalletWasabi.Backend.Controllers
}
else
{
- IEnumerable<string> compacts = fulls.Select(x => x.Substring(0, compactness));
+ IEnumerable<string> compacts = fulls.Select(x => x[..compactness]);
return Ok(compacts);
}
}

Use range operator to remove the error reported by an analyzer