[skip ci] Remove unnecessary parenthesis.
MODIFY
WalletWasabi/Helpers/Constants.cs
WalletWasabi/Helpers/Constants.cs
@@ -18,7 +18,7 @@ namespace WalletWasabi.Helpers
{
RequiredServices = NodeServices.NODE_WITNESS,
MinVersion = ProtocolVersion_WITNESS_VERSION,
- MinProtocolCapabilities = new ProtocolCapabilities() { SupportGetBlock = true, SupportWitness = true, SupportMempoolQuery = true }
+ MinProtocolCapabilities = new ProtocolCapabilities { SupportGetBlock = true, SupportWitness = true, SupportMempoolQuery = true }
};
public const int P2wpkhInputSizeInBytes = 41;

MODIFY
WalletWasabi/WebClients/BlockchainInfo/BlockchainInfoExchangeRateProvider.cs
WalletWasabi/WebClients/BlockchainInfo/BlockchainInfoExchangeRateProvider.cs
@@ -31,7 +31,7 @@ namespace WalletWasabi.WebClients.BlockchainInfo
var exchangeRates = new List<ExchangeRate>
{
- new ExchangeRate() { Rate = rates.USD.Sell, Ticker = "USD" },
+ new ExchangeRate { Rate = rates.USD.Sell, Ticker = "USD" },
};
return exchangeRates;

MODIFY
WalletWasabi/WebClients/Coinbase/CoinbaseExchangeRateProvider.cs
WalletWasabi/WebClients/Coinbase/CoinbaseExchangeRateProvider.cs
@@ -34,7 +34,7 @@ namespace WalletWasabi.WebClients.Coinbase
var exchangeRates = new List<ExchangeRate>
{
- new ExchangeRate() { Rate = wrapper.Data.Rates.USD, Ticker = "USD" },
+ new ExchangeRate { Rate = wrapper.Data.Rates.USD, Ticker = "USD" },
};
return exchangeRates;

MODIFY
WalletWasabi/WebClients/Gemini/GeminiExchangeRateProvider.cs
WalletWasabi/WebClients/Gemini/GeminiExchangeRateProvider.cs
@@ -24,7 +24,7 @@ namespace WalletWasabi.WebClients.Gemini
var exchangeRates = new List<ExchangeRate>
{
- new ExchangeRate() { Rate = data.Bid, Ticker = "USD" },
+ new ExchangeRate { Rate = data.Bid, Ticker = "USD" },
};
return exchangeRates;

MODIFY
WalletWasabi/WebClients/ItBit/ItBitExchangeRateProvider.cs
WalletWasabi/WebClients/ItBit/ItBitExchangeRateProvider.cs
@@ -24,7 +24,7 @@ namespace WalletWasabi.WebClients.ItBit
var exchangeRates = new List<ExchangeRate>
{
- new ExchangeRate() { Rate = data.Bid, Ticker = "USD" },
+ new ExchangeRate { Rate = data.Bid, Ticker = "USD" },
};
return exchangeRates;

MODIFY
WalletWasabi/WebClients/SmartBit/SmartBitExchangeRateProvider.cs
WalletWasabi/WebClients/SmartBit/SmartBitExchangeRateProvider.cs
@@ -23,7 +23,7 @@ namespace WalletWasabi.WebClients.SmartBit
var exchangeRates = new List<ExchangeRate>
{
- new ExchangeRate() { Rate = rate.Rate, Ticker = "USD" },
+ new ExchangeRate { Rate = rate.Rate, Ticker = "USD" },
};
return exchangeRates;

MODIFY
WalletWasabi/WebClients/Wasabi/ChaumianCoinJoin/BobClient.cs
WalletWasabi/WebClients/Wasabi/ChaumianCoinJoin/BobClient.cs
@@ -18,7 +18,7 @@ namespace WalletWasabi.WebClients.Wasabi.ChaumianCoinJoin
public async Task PostOutputAsync(string roundHash, BitcoinAddress activeOutputAddress, byte[] unblindedSignature)
{
- var request = new OutputRequest() { OutputAddress = activeOutputAddress.ToString(), SignatureHex = ByteHelpers.ToHex(unblindedSignature) };
+ var request = new OutputRequest { OutputAddress = activeOutputAddress.ToString(), SignatureHex = ByteHelpers.ToHex(unblindedSignature) };
using (var response = await TorClient.SendAsync(HttpMethod.Post, $"/api/v{Helpers.Constants.BackendMajorVersion}/btc/chaumiancoinjoin/output?roundHash={roundHash}", request.ToHttpStringContent()))
{
if (response.StatusCode != HttpStatusCode.NoContent)

[skip ci] Remove unnecessary parenthesis.