Merge pull request #127 from SChernykh/master

Set scratchpad pointer to null by default
pull/130/head
tevador 5 years ago committed by GitHub
commit 32f396dd11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -59,7 +59,7 @@ protected:
alignas(64) randomx::RegisterFile reg;
alignas(16) randomx::ProgramConfiguration config;
randomx::MemoryRegisters mem;
uint8_t* scratchpad;
uint8_t* scratchpad = nullptr;
union {
randomx_cache* cachePtr = nullptr;
randomx_dataset* datasetPtr;

Loading…
Cancel
Save