mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 07:38:53 +00:00
Merge pull request #4726
91eaea9c
mnemonics: fix words_to_bytes on big endian (moneromooo-monero)
This commit is contained in:
commit
b60078d1b3
@ -335,6 +335,7 @@ namespace crypto
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
w[0] = SWAP32LE(w[0]);
|
||||||
dst.append((const char*)&w[0], 4); // copy 4 bytes to position
|
dst.append((const char*)&w[0], 4); // copy 4 bytes to position
|
||||||
memwipe(w, sizeof(w));
|
memwipe(w, sizeof(w));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user