mirror of
https://github.com/wownero/RandomX.git
synced 2026-12-04 22:14:06 +01:00
Set scratchpad pointer to null by default
This commit is contained in:
@@ -59,7 +59,7 @@ protected:
|
|||||||
alignas(64) randomx::RegisterFile reg;
|
alignas(64) randomx::RegisterFile reg;
|
||||||
alignas(16) randomx::ProgramConfiguration config;
|
alignas(16) randomx::ProgramConfiguration config;
|
||||||
randomx::MemoryRegisters mem;
|
randomx::MemoryRegisters mem;
|
||||||
uint8_t* scratchpad;
|
uint8_t* scratchpad = nullptr;
|
||||||
union {
|
union {
|
||||||
randomx_cache* cachePtr = nullptr;
|
randomx_cache* cachePtr = nullptr;
|
||||||
randomx_dataset* datasetPtr;
|
randomx_dataset* datasetPtr;
|
||||||
|
|||||||
Reference in New Issue
Block a user