diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-09-07 14:34:46 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-09-07 14:34:46 -0500 |
commit | 9c9c689db4ae0b7857652be6aec6a99e7c3a96e6 (patch) | |
tree | 81ed823264bfee1d4e56be1b76241d20679d1c98 /src | |
parent | Merge pull request #6803 (diff) | |
parent | rpc: assume randomx from v13 onwards (diff) | |
download | monero-9c9c689db4ae0b7857652be6aec6a99e7c3a96e6.tar.xz |
Merge pull request #6804
5498142 rpc: assume randomx from v13 onwards (moneromooo-monero)
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) { |