mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 17:32:33 +00:00
deterministic wallet use of twelve words fixed
This commit is contained in:
parent
21a3c46a1b
commit
2e11eb1504
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ namespace crypto
|
||||||
std::string wlist_copy = words;
|
std::string wlist_copy = words;
|
||||||
if (seed.size() == seed_length/2)
|
if (seed.size() == seed_length/2)
|
||||||
{
|
{
|
||||||
memcpy(dst.data, dst.data + 16, 16); // if electrum 12-word seed, duplicate
|
memcpy(dst.data+16, dst.data, 16); // if electrum 12-word seed, duplicate
|
||||||
wlist_copy += ' ';
|
wlist_copy += ' ';
|
||||||
wlist_copy += words;
|
wlist_copy += words;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue