Skip to content

Commit

Permalink
Merge xmrig-proxy v6.15.0 into master
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed Aug 31, 2021
1 parent e7c006d commit aaee9fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/net/stratum/AlgoSwitch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit aaee9fd

Please sign in to comment.