From c753eb014b0172df95c1c1118f9566749db7d71e Mon Sep 17 00:00:00 2001 From: Bathmat <32529800+Bathmat@users.noreply.github.com> Date: Fri, 28 Feb 2020 19:15:39 -0600 Subject: [PATCH] Fixes for Klaro to pass self-test --- src/crypto/common/Algorithm.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/crypto/common/Algorithm.cpp b/src/crypto/common/Algorithm.cpp index 68e0c03a..cea81e74 100644 --- a/src/crypto/common/Algorithm.cpp +++ b/src/crypto/common/Algorithm.cpp @@ -183,6 +183,7 @@ size_t xmrig::Algorithm::l3() const case RX_0: case RX_LOKI: case RX_SFX: + case RX_KLARO: return oneMiB * 2; case RX_WOW: @@ -284,6 +285,7 @@ xmrig::Algorithm::Family xmrig::Algorithm::family(Id id) case RX_LOKI: case RX_ARQ: case RX_SFX: + case RX_KLARO: return RANDOM_X; # endif