diff options
| author | Gavin Andresen <[email protected]> | 2010-10-09 17:59:38 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2010-10-09 17:59:38 -0400 |
| commit | 687c5ef7949a7f0c388ad633b40d243ed6786c4e (patch) | |
| tree | 2316e4497185d0ad9dc6065cf58faf9d7b551363 /rpc.cpp | |
| parent | Merge remote branch 'remotes/svn/trunk' into svn (diff) | |
| parent | key pool for safer wallet backup (diff) | |
| download | discoin-687c5ef7949a7f0c388ad633b40d243ed6786c4e.tar.xz discoin-687c5ef7949a7f0c388ad633b40d243ed6786c4e.zip | |
Merge remote branch 'refs/remotes/svn/trunk' into svn
Diffstat (limited to 'rpc.cpp')
| -rw-r--r-- | rpc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -275,7 +275,7 @@ Value getnewaddress(const Array& params, bool fHelp) strLabel = params[0].get_str(); // Generate a new key that is added to wallet - string strAddress = PubKeyToAddress(GenerateNewKey()); + string strAddress = PubKeyToAddress(CWalletDB().GetKeyFromKeyPool()); SetAddressBookName(strAddress, strLabel); return strAddress; |