From 8661f9a970aca5812d0838bc3fb33fbae0ec4cd2 Mon Sep 17 00:00:00 2001 From: Thomas Winget Date: Fri, 6 Jun 2014 08:20:54 -0400 Subject: [PATCH] missing '.at' on two map calls. built on some machines, very strange... --- src/crypto/electrum-words.cpp | 4 ++-- 1 file 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);