reduce the number of one time keys that get generated when we create an account
This commit is contained in:
parent
8bf32c3248
commit
f10c04d62d
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ std::size_t axolotl::Account::new_account(
|
||||||
axolotl::generate_key(random, last_resort_one_time_key.key);
|
axolotl::generate_key(random, last_resort_one_time_key.key);
|
||||||
random += 32;
|
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());
|
LocalKey & key = *one_time_keys.insert(one_time_keys.end());
|
||||||
key.id = ++id;
|
key.id = ++id;
|
||||||
axolotl::generate_key(random, key.key);
|
axolotl::generate_key(random, key.key);
|
||||||
|
|
Loading…
Reference in a new issue