diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-09-06 19:15:10 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-09-07 01:13:06 +0000 |
commit | 5498142e8f58421550ed6313aa92556dab0143ca (patch) | |
tree | fb27922e1bcfc75d6d0448dc668483fa8e49f930 /src | |
parent | Merge pull request #6111 (diff) | |
download | monero-5498142e8f58421550ed6313aa92556dab0143ca.tar.xz |
rpc: assume randomx from v13 onwards
Diffstat (limited to 'src')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 4 |
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) { |