Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Vidaru
crown-core
Commits
e0f0a52b
Commit
e0f0a52b
authored
13 years ago
by
Gavin Andresen
Browse files
Options
Download
Email Patches
Plain Diff
Fix RPC call name in error message.
parent
39098d1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/rpc.cpp
+1
-1
src/rpc.cpp
with
1 addition
and
1 deletion
+1
-1
src/rpc.cpp
View file @
e0f0a52b
...
...
@@ -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
topup
keypool first"
);
throw JSONRPCError(-12, "Error: Keypool ran out, please call keypool
refill
first");
pwalletMain->SetAddressBookName(CBitcoinAddress(account.vchPubKey), strAccount);
walletdb.WriteAccount(strAccount, account);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help