mirror of
https://github.com/wownero/RandomX.git
synced 2026-10-19 08:18:45 +02:00
randomx_cache and randomx_dataset changed to standard-layout structs
This commit is contained in:
@@ -45,6 +45,7 @@ namespace randomx {
|
||||
|
||||
template<class Allocator, bool softAes>
|
||||
void InterpretedVm<Allocator, softAes>::setDataset(randomx_dataset* dataset) {
|
||||
datasetPtr = dataset;
|
||||
mem.memory = dataset->memory;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user