Navigation Menu

Skip to content

Commit

Permalink
Labels with , should be considered as separate labels.
Browse files Browse the repository at this point in the history
  • Loading branch information
nopara73 committed Nov 13, 2018
1 parent 2d359bf commit df98514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WalletWasabi/Services/WalletService.cs
Expand Up @@ -1040,7 +1040,7 @@ public async Task SendTransactionAsync(SmartTransaction transaction)


public IEnumerable<string> GetNonSpecialLabels() public IEnumerable<string> GetNonSpecialLabels()
{ {
return Coins.Where(x => !x.Label.StartsWith("change of") && !x.Label.StartsWith("ZeroLink")).Select(x => x.Label).Distinct(); return Coins.Where(x => !x.Label.StartsWith("change of") && !x.Label.StartsWith("ZeroLink")).SelectMany(x => x.Label.Split(',').Select(y => y.Trim())).Distinct();
} }


#region IDisposable Support #region IDisposable Support
Expand Down

0 comments on commit df98514

Please sign in to comment.