diff --git a/src/crypto/randomx/randomx.cpp b/src/crypto/randomx/randomx.cpp index f5b4e682d..b1747cbc3 100644 --- a/src/crypto/randomx/randomx.cpp +++ b/src/crypto/randomx/randomx.cpp @@ -413,7 +413,7 @@ extern "C" { constexpr size_t VM_POOL_SIZE = 2 * 1024 * 1024; - if (node > 64) { + if (node >= 64) { node = 0; }