mirror of
https://codeberg.org/nahuhh/wownero
synced 2026-03-05 14:17:35 -05:00
mnemonics: fix half length seed to bytes conversion
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user