diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-06-06 16:31:04 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2014-06-12 19:05:51 -0400 |
commit | 8bc032ed092e65e944e9032bc6042ae118346fa9 (patch) | |
tree | 0f7b23b07b8d87a806ebbcffb68f5c6ffb56db6f /src/crypto/electrum-words.h | |
parent | fixed some pointer- and loop-based derps (diff) | |
download | monero-8bc032ed092e65e944e9032bc6042ae118346fa9.tar.xz |
more pointer-based derp
Diffstat (limited to 'src/crypto/electrum-words.h')
-rw-r--r-- | src/crypto/electrum-words.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crypto/electrum-words.h b/src/crypto/electrum-words.h index f5f8d1d95..a533299bd 100644 --- a/src/crypto/electrum-words.h +++ b/src/crypto/electrum-words.h @@ -5,6 +5,7 @@ */ #include <string> +#include <cstdint> #include <map> #include "crypto/crypto.h" // for declaration of crypto::secret_key @@ -18,7 +19,7 @@ namespace crypto bool words_to_bytes(const std::string& words, crypto::secret_key& dst); bool bytes_to_words(const crypto::secret_key& src, std::string& words); - const std::map<std::string, int> wordsMap = { + const std::map<std::string,uint32_t> wordsMap = { {"like", 0}, {"just", 1}, {"love", 2}, |