From 123e5bd9982376b5feba8c32c67ff0286697a867 Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Mon, 15 Aug 2011 11:07:25 -0400 Subject: [PATCH] Fix RPC call name in error message. --- src/rpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc.cpp b/src/rpc.cpp index 161606af3c0..ec2bb2a97a1 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);