Skip to content

Commit

Permalink
Merge pull request #1995 from benthecarman/linter_fix
Browse files Browse the repository at this point in the history
Code formatting fix to help linter
  • Loading branch information
nopara73 committed Jul 25, 2019
2 parents 274023e + 722fbed commit f6c18e7
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions WalletWasabi/Services/WalletService.cs
Expand Up @@ -273,16 +273,11 @@ public async Task InitializeAsync(CancellationToken cancel)
{
IEnumerable<SmartTransaction> transactions = null;
string jsonString = File.ReadAllText(TransactionsFilePath, Encoding.UTF8);
transactions = JsonConvert.DeserializeObject<IEnumerable<SmartTransaction>>(jsonString)?
.OrderByBlockchain();
transactions = JsonConvert.DeserializeObject<IEnumerable<SmartTransaction>>(jsonString)?.OrderByBlockchain();

confirmedTransactions = transactions?
.Where(x => x.Confirmed)?
.ToArray() ?? new SmartTransaction[0];
confirmedTransactions = transactions?.Where(x => x.Confirmed)?.ToArray() ?? new SmartTransaction[0];

unconfirmedTransactions = transactions?
.Where(x => !x.Confirmed)?
.ToArray() ?? new SmartTransaction[0];
unconfirmedTransactions = transactions?.Where(x => !x.Confirmed)?.ToArray() ?? new SmartTransaction[0];
}
catch (Exception ex)
{
Expand Down

0 comments on commit f6c18e7

Please sign in to comment.