mnemonics: fix words_to_bytes on big endian

pull/127/head
moneromooo-monero 6 years ago
parent 1e74586ee9
commit 91eaea9c72
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -335,6 +335,7 @@ namespace crypto
return false;
}
w[0] = SWAP32LE(w[0]);
dst.append((const char*)&w[0], 4); // copy 4 bytes to position
memwipe(w, sizeof(w));
}

Loading…
Cancel
Save