Commit f10c04d6 authored by Mark Haines's avatar Mark Haines
Browse files

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

parent 8bf32c32
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment