mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2024-08-15 00:23:14 +00:00
Fix native code generator using the wrong hash function
This commit is contained in:
parent
fe4324e8c0
commit
8006ac7ec0
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ void generateNative(uint32_t nonce) {
|
||||||
uint8_t scratchpad[randomx::ScratchpadSize];
|
uint8_t scratchpad[randomx::ScratchpadSize];
|
||||||
fillAes1Rx4<softAes>((void*)hash, randomx::ScratchpadSize, scratchpad);
|
fillAes1Rx4<softAes>((void*)hash, randomx::ScratchpadSize, scratchpad);
|
||||||
alignas(16) randomx::Program prog;
|
alignas(16) randomx::Program prog;
|
||||||
fillAes1Rx4<softAes>((void*)hash, sizeof(prog), &prog);
|
fillAes4Rx4<softAes>((void*)hash, sizeof(prog), &prog);
|
||||||
std::cout << prog << std::endl;
|
std::cout << prog << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue