diff options
| author | Gregory Maxwell <[email protected]> | 2013-08-23 12:54:50 -0700 |
|---|---|---|
| committer | Gregory Maxwell <[email protected]> | 2013-08-23 12:54:50 -0700 |
| commit | 71ac5052d83fcba21a09e5e2b7ad66faea6bd42a (patch) | |
| tree | 45c6cf793ee33237699ed83d8cd12d8fdefb4a6f /src/init.cpp | |
| parent | [QT] Don't ask for a passphrase to getnewaddress. (diff) | |
| download | discoin-71ac5052d83fcba21a09e5e2b7ad66faea6bd42a.tar.xz discoin-71ac5052d83fcba21a09e5e2b7ad66faea6bd42a.zip | |
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 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"; |