aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonics/electrum-words.cpp
diff options
context:
space:
mode:
authorwarptangent <warptangent@inbox.com>2014-11-07 14:02:39 -0800
committerwarptangent <warptangent@inbox.com>2014-12-01 13:35:09 -0800
commit2e11eb150444086dd936b10680bf354b548cc1f5 (patch)
treef461429ef8d57efeeebaa15c1b21afbfc12523b1 /src/mnemonics/electrum-words.cpp
parentensure that keccak is called on view spend key, not a possibly pre-sc_reduce3... (diff)
downloadmonero-2e11eb150444086dd936b10680bf354b548cc1f5.tar.xz
deterministic wallet use of twelve words fixed
Diffstat (limited to 'src/mnemonics/electrum-words.cpp')
-rw-r--r--src/mnemonics/electrum-words.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mnemonics/electrum-words.cpp b/src/mnemonics/electrum-words.cpp
index ffa82b21e..66ad9a59c 100644
--- a/src/mnemonics/electrum-words.cpp
+++ b/src/mnemonics/electrum-words.cpp
@@ -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;
}