aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/crypto/electrum-words.cpp4
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);