Format files (remove extra spaces & unnecessary commas)
MODIFY
WalletWasabi.Gui/CommandLine/MixerCommand.cs
WalletWasabi.Gui/CommandLine/MixerCommand.cs
@@ -27,7 +27,7 @@ namespace WalletWasabi.Gui.CommandLine
{ "h|help", "Displays help page and exit.", x => ShowHelp = x != null },
{ "w|wallet=", "The name of the wallet file.", x => WalletName = x },
{ "mixall", "Mix once even if the coin reached the target anonymity set specified in the config file.", x => MixAll = x != null },
- { "keepalive", "Do not exit the software after mixing has been finished, rather keep mixing when new money arrives.", x => KeepMixAlive = x != null},
+ { "keepalive", "Do not exit the software after mixing has been finished, rather keep mixing when new money arrives.", x => KeepMixAlive = x != null }
};
}

MODIFY
WalletWasabi/Extensions/NBitcoinExtensions.cs
WalletWasabi/Extensions/NBitcoinExtensions.cs
@@ -163,10 +163,10 @@ namespace NBitcoin
return VerifySignature(dataHash, signature, signer.Key.PubKey);
}
- public static uint256 BlindScript(this Requester requester, PubKey signerPubKey, PubKey RPubKey, Script script)
+ public static uint256 BlindScript(this Requester requester, PubKey signerPubKey, PubKey rPubKey, Script script)
{
var msg = new uint256(Hashes.SHA256(script.ToBytes()));
- return requester.BlindMessage(msg, RPubKey, signerPubKey);
+ return requester.BlindMessage(msg, rPubKey, signerPubKey);
}
public static Signer CreateSigner(this SchnorrKey schnorrKey)

MODIFY
WalletWasabi/Gma/QrCodeNet/Encoding/DataEncodation/EightBitByteEncoder.cs
WalletWasabi/Gma/QrCodeNet/Encoding/DataEncodation/EightBitByteEncoder.cs
@@ -44,7 +44,8 @@ namespace Gma.QrCodeNet.Encoding.DataEncodation
var eciSet = new ECISet(ECISet.AppendOption.NameToValue);
if (!eciSet.ContainsECIName(Encoding))
{
- throw new ArgumentOutOfRangeException(nameof(Encoding),
+ throw new ArgumentOutOfRangeException(
+ nameof(Encoding),
"Current ECI table does not support this encoding. Please check ECISet class for more info");
}

MODIFY
WalletWasabi/Models/ChaumianCoinJoin/CcjRound.cs
WalletWasabi/Models/ChaumianCoinJoin/CcjRound.cs
@@ -462,7 +462,8 @@ namespace WalletWasabi.Models.ChaumianCoinJoin
timeout = SigningTimeout;
break;
- default: throw new InvalidOperationException("This is impossible.");
+ default:
+ throw new InvalidOperationException("This is impossible.");
}
// Delay asynchronously to the requested timeout.
@@ -547,7 +548,8 @@ namespace WalletWasabi.Models.ChaumianCoinJoin
}
break;
- default: throw new InvalidOperationException("This is impossible.");
+ default:
+ throw new InvalidOperationException("This is impossible.");
}
}
catch (Exception ex)

MODIFY
WalletWasabi/Services/CcjCoordinator.cs
WalletWasabi/Services/CcjCoordinator.cs
@@ -161,7 +161,7 @@ namespace WalletWasabi.Services
// Turns out you shouldn't accept RBF at all never. (See below.)
// https://github.com/zkSNACKs/WalletWasabi/issues/145
- // if a it spends a banned output AND it's not CJ output
+ // if it spends a banned output AND it's not CJ output
// ban all the outputs of the transaction
if (RoundConfig.DosSeverity <= 1)

MODIFY
WalletWasabi/WebClients/BitcoinAverage/BitcoinAverageExchangeRateProvider.cs
WalletWasabi/WebClients/BitcoinAverage/BitcoinAverageExchangeRateProvider.cs
@@ -24,7 +24,7 @@ namespace WalletWasabi.WebClients.BitcoinAverage
var exchangeRates = new List<ExchangeRate>
{
- new ExchangeRate { Rate = rate.Price, Ticker = "USD" },
+ new ExchangeRate { Rate = rate.Price, Ticker = "USD" }
};
return exchangeRates;

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;

Format files (remove extra spaces & unnecessary commas)