aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-09-06 19:15:10 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-09-07 01:13:06 +0000
commit5498142e8f58421550ed6313aa92556dab0143ca (patch)
treefb27922e1bcfc75d6d0448dc668483fa8e49f930 /src/rpc/core_rpc_server.cpp
parentMerge pull request #6111 (diff)
downloadmonero-5498142e8f58421550ed6313aa92556dab0143ca.tar.xz
rpc: assume randomx from v13 onwards
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 82e3e9040..74d0cf450 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -1306,8 +1306,8 @@ namespace cryptonote
case 1: res.pow_algorithm = "CNv1 (Cryptonight variant 1)"; break;
case 2: case 3: res.pow_algorithm = "CNv2 (Cryptonight variant 2)"; break;
case 4: case 5: res.pow_algorithm = "CNv4 (Cryptonight variant 4)"; break;
- case 6: case 7: res.pow_algorithm = "RandomX"; break;
- default: res.pow_algorithm = "I'm not sure actually"; break;
+ case 6: case 7: case 8: case 9: res.pow_algorithm = "RandomX"; break;
+ default: res.pow_algorithm = "RandomX"; break; // assumed
}
if (res.is_background_mining_enabled)
{