mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-24 22:27:46 +00:00
mnemonics: fix words_to_bytes on big endian
This commit is contained in:
parent
1e74586ee9
commit
91eaea9c72
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue