diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-06-06 15:45:21 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2014-06-12 19:05:51 -0400 |
commit | 72c3f36ca44a4be4d237095fd14e1ff862af5864 (patch) | |
tree | cd320e7996cf1478686679fc3e87fc4a9eee3a1d /src/crypto | |
parent | builds, but doesn't link. other than that, electrum-style recovery implement... (diff) | |
download | monero-72c3f36ca44a4be4d237095fd14e1ff862af5864.tar.xz |
fixed some pointer- and loop-based derps
Diffstat (limited to 'src/crypto')
-rw-r--r-- | src/crypto/electrum-words.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/electrum-words.cpp b/src/crypto/electrum-words.cpp index 048aa403f..5489d5034 100644 --- a/src/crypto/electrum-words.cpp +++ b/src/crypto/electrum-words.cpp @@ -84,7 +84,7 @@ namespace crypto uint32_t val; - memcpy(&val, &src.data, 4); + memcpy(&val, (src.data) + (i * 4), 4); w1 = val % n; w2 = ((val / n) + w1) % n; |