diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-06-06 08:20:54 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2014-06-12 19:05:51 -0400 |
commit | 8661f9a970aca5812d0838bc3fb33fbae0ec4cd2 (patch) | |
tree | c19cac8ff2340af142a25a1b6267b69a2bd2d8ae /src/crypto | |
parent | revert 'dirty hack' change to crypto.h. need a better way for sure. (diff) | |
download | monero-8661f9a970aca5812d0838bc3fb33fbae0ec4cd2.tar.xz |
missing '.at' on two map calls. built on some machines, very strange...
Diffstat (limited to 'src/crypto')
-rw-r--r-- | src/crypto/electrum-words.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/electrum-words.cpp b/src/crypto/electrum-words.cpp index 9818791b9..b4580e01f 100644 --- a/src/crypto/electrum-words.cpp +++ b/src/crypto/electrum-words.cpp @@ -50,8 +50,8 @@ namespace crypto } w1 = wordsMap.at(wlist[i*3]); - w2 = wordsMap(wlist[i*3 + 1]); - w3 = wordsMap(wlist[i*3 + 2]); + w2 = wordsMap.at(wlist[i*3 + 1]); + w3 = wordsMap.at(wlist[i*3 + 2]); val = w1 + n * ((w2 - w1) % n) + n * n * ((w3 - w2) % n); |