You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ExchangeSharp/API/Exchanges/_Base/ExchangeAPI.cs
+3-27Lines changed: 3 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -976,8 +976,7 @@ public virtual async Task<IEnumerable<ExchangeMarket>> GetMarketSymbolsMetadataA
976
976
}
977
977
978
978
/// <summary>
979
-
/// Gets the exchange market from this exchange's SymbolsMetadata cache. This will make a network request if needed to retrieve fresh markets from the exchange using GetSymbolsMetadataAsync().
980
-
/// Please note that sending a symbol that is not found over and over will result in many network requests. Only send symbols that you are confident exist on the exchange.
979
+
/// Gets the exchange market from this exchange's SymbolsMetadata cache.
981
980
/// </summary>
982
981
/// <param name="marketSymbol">The market symbol. Ex. ADA/BTC. This is assumed to be normalized and already correct for the exchange.</param>
983
982
/// <returns>The ExchangeMarket or null if it doesn't exist in the cache or there was an error</returns>
@@ -993,34 +992,11 @@ string marketSymbol
993
992
try
994
993
{
995
994
// *NOTE*: custom caching, do not wrap in CacheMethodCall...
996
-
// *NOTE*: vulnerability exists where if spammed with not found symbols, lots of network calls will happen, stalling the application
997
-
// TODO: Add not found dictionary, or some mechanism to mitigate this risk
998
995
// not sure if this is needed, but adding it just in case
0 commit comments