added missing word_list.size to add missing fix to hardcoded seed size

pull/2/head
Paul Shapiro 6 years ago
parent 29439de96e
commit 6924fa6fe6

@ -215,7 +215,7 @@ namespace
}
boost::crc_32_type result;
result.process_bytes(trimmed_words.data(), trimmed_words.length());
return result.checksum() % crypto::ElectrumWords::seed_length;
return result.checksum() % word_list.size();
}
/*!

Loading…
Cancel
Save