mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 17:32:33 +00:00
Merge pull request #5295
2b10f22a
mnemonics: fix half length seed to bytes conversion (moneromooo-monero)
This commit is contained in:
commit
89fb0e3cd6
1 changed files with 1 additions and 3 deletions
|
@ -340,9 +340,7 @@ namespace crypto
|
|||
const size_t expected = len * 3 / 32;
|
||||
if (seed.size() == expected/2)
|
||||
{
|
||||
dst += ' '; // if electrum 12-word seed, duplicate
|
||||
dst += dst; // if electrum 12-word seed, duplicate
|
||||
dst.pop_back(); // trailing space
|
||||
dst.append(dst.data(), dst.size()); // if electrum 12-word seed, duplicate
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue