diff options
| author | Gavin Andresen <[email protected]> | 2011-08-15 11:07:25 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-09-01 10:12:59 -0400 |
| commit | 123e5bd9982376b5feba8c32c67ff0286697a867 (patch) | |
| tree | 63ea1d84278aaff846d1cd88695dbe439a4eca2a /src/rpc.cpp | |
| parent | Logic running with -keypool=0 was wrong (empty keys were being returned). Fix... (diff) | |
| download | discoin-123e5bd9982376b5feba8c32c67ff0286697a867.tar.xz discoin-123e5bd9982376b5feba8c32c67ff0286697a867.zip | |
Fix RPC call name in error message.
Diffstat (limited to 'src/rpc.cpp')
| -rw-r--r-- | src/rpc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc.cpp b/src/rpc.cpp index 161606af3..ec2bb2a97 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -382,7 +382,7 @@ CBitcoinAddress GetAccountAddress(string strAccount, bool bForceNew=false) if (pwalletMain->GetKeyPoolSize() < 1) { if (!pwalletMain->GetKeyFromPool(account.vchPubKey, false)) - throw JSONRPCError(-12, "Error: Keypool ran out, please call topupkeypool first"); + throw JSONRPCError(-12, "Error: Keypool ran out, please call keypoolrefill first"); pwalletMain->SetAddressBookName(CBitcoinAddress(account.vchPubKey), strAccount); walletdb.WriteAccount(strAccount, account); |