mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-25 21:19:34 +00:00
Merge pull request #1073 from SChernykh/dev
Correct buffer size for fillAes4Rx4
This commit is contained in:
commit
11614c287f
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ namespace randomx {
|
||||||
|
|
||||||
template<bool softAes>
|
template<bool softAes>
|
||||||
void VmBase<softAes>::generateProgram(void* seed) {
|
void VmBase<softAes>::generateProgram(void* seed) {
|
||||||
fillAes4Rx4<softAes>(seed, sizeof(program), &program);
|
fillAes4Rx4<softAes>(seed, 128 + RandomX_CurrentConfig.ProgramSize * 8, &program);
|
||||||
}
|
}
|
||||||
|
|
||||||
template class VmBase<false>;
|
template class VmBase<false>;
|
||||||
|
|
Loading…
Reference in a new issue