Skip to content

Commit 6c1c0e2

Browse files
committed
Added a TODO in CryptoNameResolver.cs
1 parent 1563882 commit 6c1c0e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CryptoStatsSource/CryptoNameResolver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ public CryptoNameResolverImpl(ICryptoStatsSource cryptoStatsSource)
2323

2424
public async Task Refresh()
2525
{
26+
// TODO improve this
2627
_symbolToNameMap = new();
2728
(await _cryptoStatsSource.GetAvailableCryptocurrencies()).ForEach(c =>
2829
_symbolToNameMap.TryAdd(c.Symbol, c.Name));
2930
}
3031

31-
3232
public async Task<string> Resolve(string symbol)
3333
{
3434
if (_symbolToNameMap?.GetValueOrDefault(symbol) == null) await Refresh();

0 commit comments

Comments
 (0)