From 2e11eb150444086dd936b10680bf354b548cc1f5 Mon Sep 17 00:00:00 2001
From: warptangent <warptangent@inbox.com>
Date: Fri, 7 Nov 2014 14:02:39 -0800
Subject: [PATCH] deterministic wallet use of twelve words fixed

---
 src/mnemonics/electrum-words.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
       }