From 71ac5052d83fcba21a09e5e2b7ad66faea6bd42a Mon Sep 17 00:00:00 2001 From: Gregory Maxwell Date: Fri, 23 Aug 2013 12:54:50 -0700 Subject: Remove fAllowReuse from GetKeyFromPool. With the GUI password fix this was always false. --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/init.cpp') diff --git a/src/init.cpp b/src/init.cpp index 726356504..c607fe14d 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -893,7 +893,7 @@ bool AppInit2(boost::thread_group& threadGroup) RandAddSeedPerfmon(); CPubKey newDefaultKey; - if (pwalletMain->GetKeyFromPool(newDefaultKey, false)) { + if (pwalletMain->GetKeyFromPool(newDefaultKey)) { pwalletMain->SetDefaultKey(newDefaultKey); if (!pwalletMain->SetAddressBook(pwalletMain->vchDefaultKey.GetID(), "", "receive")) strErrors << _("Cannot write default address") << "\n"; -- cgit v1.2.3