From aaee9fdbab5656ad67fe31151fb3036e58e58b1e Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Tue, 31 Aug 2021 17:25:14 +0000 Subject: [PATCH] Merge xmrig-proxy v6.15.0 into master --- src/base/net/stratum/AlgoSwitch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/net/stratum/AlgoSwitch.cpp b/src/base/net/stratum/AlgoSwitch.cpp index 282b4be9a..d9ca778be 100644 --- a/src/base/net/stratum/AlgoSwitch.cpp +++ b/src/base/net/stratum/AlgoSwitch.cpp @@ -87,7 +87,7 @@ rapidjson::Value AlgoSwitch::algo_perfs_toJSON(rapidjson::Document& doc) const { auto &allocator = doc.GetAllocator(); rapidjson::Value algo_perfs(rapidjson::kObjectType); for (const auto& algo_perf: m_algo_perfs.empty() ? m_default_algo_perfs : m_algo_perfs) { - algo_perfs.AddMember(rapidjson::StringRef(Algorithm(algo_perf.first).shortName()), algo_perf.second, allocator); + algo_perfs.AddMember(rapidjson::StringRef(Algorithm(algo_perf.first).name()), algo_perf.second, allocator); } return algo_perfs; }