diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-04-24 10:49:51 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-04-24 10:49:51 +0200 |
commit | 0385999cda0cf1091851e5a42f86157c22feaf3f (patch) | |
tree | 64fc85a572b89ed11e2fa9461fe833a387ccb955 /src/mnemonics | |
parent | Merge pull request #1983 (diff) | |
parent | simplewallet: allow multiline seed (diff) | |
download | monero-0385999cda0cf1091851e5a42f86157c22feaf3f.tar.xz |
Merge pull request #1984
a255a540 simplewallet: allow multiline seed (moneromooo-monero)
5fce581c mnemonics: ignore multiple whitespace between words (moneromooo-monero)
Diffstat (limited to 'src/mnemonics')
-rw-r--r-- | src/mnemonics/electrum-words.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mnemonics/electrum-words.cpp b/src/mnemonics/electrum-words.cpp index 5bd06c3e8..501495f0b 100644 --- a/src/mnemonics/electrum-words.cpp +++ b/src/mnemonics/electrum-words.cpp @@ -242,7 +242,7 @@ namespace crypto std::vector<std::string> seed; boost::algorithm::trim(words); - boost::split(seed, words, boost::is_any_of(" ")); + boost::split(seed, words, boost::is_any_of(" "), boost::token_compress_on); // error on non-compliant word list if (seed.size() != seed_length/2 && seed.size() != seed_length && |