diff options
author | Gregory Maxwell <greg@xiph.org> | 2013-08-23 12:54:50 -0700 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2013-08-23 12:54:50 -0700 |
commit | 71ac5052d83fcba21a09e5e2b7ad66faea6bd42a (patch) | |
tree | 45c6cf793ee33237699ed83d8cd12d8fdefb4a6f /src/init.cpp | |
parent | 20469d83dd2fd7d8efacf94f017b926be7c92e63 (diff) |
Remove fAllowReuse from GetKeyFromPool.
With the GUI password fix this was always false.
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 7263565047..c607fe14d3 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"; |