mirror of
https://github.com/wownero/RandomWOW.git
synced 2026-10-23 02:08:47 +02:00
Fixed non-portable deserialization
This commit is contained in:
+2
-1
@@ -23,6 +23,7 @@ along with RandomX. If not, see<http://www.gnu.org/licenses/>.
|
||||
#include <ostream>
|
||||
#include "common.hpp"
|
||||
#include "Instruction.hpp"
|
||||
#include "blake2/endian.h"
|
||||
|
||||
namespace RandomX {
|
||||
|
||||
@@ -36,7 +37,7 @@ namespace RandomX {
|
||||
return os;
|
||||
}
|
||||
uint64_t getEntropy(int i) {
|
||||
return entropyBuffer[i];
|
||||
return load64(&entropyBuffer[i]);
|
||||
}
|
||||
private:
|
||||
void print(std::ostream&) const;
|
||||
|
||||
Reference in New Issue
Block a user