Skip to content

Commit

Permalink
deterministic wallet use of twelve words fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
warptangent committed Dec 1, 2014
1 parent 21a3c46 commit 2e11eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mnemonics/electrum-words.cpp
Expand Up @@ -255,7 +255,7 @@ namespace crypto
std::string wlist_copy = words;
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 += words;
}
Expand Down

0 comments on commit 2e11eb1

Please sign in to comment.