diff options
author | Gregory Maxwell <greg@xiph.org> | 2013-08-28 11:20:09 -0700 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2013-08-28 11:20:09 -0700 |
commit | 1ef0067eab27b9101641b28acc177038e3dae11d (patch) | |
tree | 5115dbf26fe82b3e1a2567e2ead8ca74339ed5cf /src/init.cpp | |
parent | bb7d0fc12fcfbb2a91e39cb49f2a0873344dbae0 (diff) | |
parent | 71ac5052d83fcba21a09e5e2b7ad66faea6bd42a (diff) |
Merge pull request #2904 from gmaxwell/newaddr-no-passphrase
[QT] Don't ask for a passphrase to getnewaddress.
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 db368c7f53..acf6deab8d 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -898,7 +898,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"; |