Skip to content
Permalink
Browse files

Labels with , should be considered as separate labels.

  • Loading branch information...
nopara73 committed Nov 13, 2018
1 parent 2d359bf commit df985141e39c03111e2344e716c38a8b431f09c6
Showing with 1 addition and 1 deletion.
  1. +1 −1 WalletWasabi/Services/WalletService.cs
@@ -1040,7 +1040,7 @@ public async Task SendTransactionAsync(SmartTransaction transaction)

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

0 comments on commit df98514

Please sign in to comment.
You can’t perform that action at this time.