1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-25 13:42:54 -05:00

fix yada nonce offset

This commit is contained in:
Matthew Vogel
2024-08-01 15:10:20 -07:00
parent 046b2a17d3
commit b108845627
2 changed files with 5 additions and 2 deletions

View File

@@ -180,7 +180,10 @@ int32_t xmrig::Job::nonceOffset() const
auto f = algorithm().family();
if (f == Algorithm::KAWPOW) return 32;
if (f == Algorithm::GHOSTRIDER) return 76;
if (f == Algorithm::RX_YADA) return 147;
auto id = algorithm().id();
if (id == Algorithm::RX_YADA) return 147;
return 39;
}