From f10c04d62d15cc42af4683c2020cf5dffe895bd2 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Tue, 23 Jun 2015 17:49:04 +0100 Subject: [PATCH] reduce the number of one time keys that get generated when we create an account --- src/account.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/account.cpp b/src/account.cpp index 3124312..cafa014 100644 --- a/src/account.cpp +++ b/src/account.cpp @@ -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);