From 89bac4ca61d4047432ac42c8703c986101b8e3a0 Mon Sep 17 00:00:00 2001 From: ecency Date: Sat, 11 Jul 2026 10:17:11 +0000 Subject: [PATCH] chore: drop the per-lookup price debug log MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GetTokenPrice logged a line for every non-USD price lookup — inherited from the Node implementation for behavioral parity, and unaffected by the Warning log-level default since it wrote to stdout directly. With the Node build retired it is the last remaining hot-path log noise; responses are unchanged. --- dotnet/EcencyApi/Handlers/WalletApi.Market.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/dotnet/EcencyApi/Handlers/WalletApi.Market.cs b/dotnet/EcencyApi/Handlers/WalletApi.Market.cs index 08089bb6..06e8c58a 100644 --- a/dotnet/EcencyApi/Handlers/WalletApi.Market.cs +++ b/dotnet/EcencyApi/Handlers/WalletApi.Market.cs @@ -459,14 +459,6 @@ internal static double GetTokenPrice(JsonNode? marketData, string token, string if (tokenKey == currencyKey) return 1.0; - if (currencyKey != "usd") - { - var tokenData = JsVal.Prop(marketData, tokenKey) ?? JsVal.Prop(marketData, upperToken); - var quotesNode = JsVal.Prop(tokenData, "quotes"); - var availableQuotes = quotesNode is JsonObject qo ? string.Join(",", qo.Select(kv => kv.Key)) : ""; - Console.WriteLine($"Looking for {tokenKey} price in {currencyKey}. Available quotes: {availableQuotes}"); - } - var containers = CollectContainers(marketData, 3); var candidates = new List(); void AddCandidate(JsonNode? v) { if (v != null) candidates.Add(v); }