reduce the number of one time keys that get generated when we create an account

This commit is contained in:
Mark Haines 2015-06-23 17:49:04 +01:00
parent 8bf32c3248
commit f10c04d62d

View file

@ -62,7 +62,7 @@ std::size_t axolotl::Account::new_account(
axolotl::generate_key(random, last_resort_one_time_key.key);
random += 32;
for (unsigned i = 0; i < 100; ++i) {
for (unsigned i = 0; i < 10; ++i) {
LocalKey & key = *one_time_keys.insert(one_time_keys.end());
key.id = ++id;
axolotl::generate_key(random, key.key);