aboutsummaryrefslogtreecommitdiff
path: root/src/rpcwallet.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-02-02 11:55:42 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-02-02 11:56:23 +0100
commita62649731fb1babaedff10b7c0baec4c50c90d60 (patch)
treecca272581d2cb6b9bf39283f3e4ab26da032a4fc /src/rpcwallet.cpp
parent6af674ecdc99db2eb741b8dc79e44bd0202e3855 (diff)
parentee932025c1a318943a6b101be9fe7a4a2e10648c (diff)
downloadbitcoin-a62649731fb1babaedff10b7c0baec4c50c90d60.tar.xz
Merge pull request #5731
ee93202 Changed pronouns for correctness and inclusivity (bikinibabe) 1fa89a5 fix _code_ snippet in gitian-building.md (UdjinM6) 34c6181 Fix README link from util.sh -> util.py. (Matt Bogosian) faf0af4 Suggest --disable-wallet when libdb_cxx headers are missing (Luke Dashjr) 5a809ef depends: fix typos (Michael Ford) bd2b73b TRIVIAL: fix misleading comment (Vitalii Demianets) 5262fde Remove whitespaces before double colon in errors and logs (Pavel Janík) 3800135 Fix typo (Pavel Janík) 91a9fe0 Fix typo - sentence starts with capital letter (Pavel Janík) bfc29dc Improve gitian build guide (Michael Ford) d6bed15 remove sig_canonical.json and sig_noncanonical.json (Manuel Araoz) 8673160 Remove bootstrap.md (Michael Ford)
Diffstat (limited to 'src/rpcwallet.cpp')
-rw-r--r--src/rpcwallet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp
index 6ad3ee54d5..28371771a9 100644
--- a/src/rpcwallet.cpp
+++ b/src/rpcwallet.cpp
@@ -82,7 +82,7 @@ Value getnewaddress(const Array& params, bool fHelp)
"If 'account' is specified (DEPRECATED), it is added to the address book \n"
"so payments received with the address will be credited to 'account'.\n"
"\nArguments:\n"
- "1. \"account\" (string, optional) DEPRECATED. The account name for the address to be linked to. if not provided, the default account \"\" is used. It can also be set to the empty string \"\" to represent the default account. The account does not need to exist, it will be created if there is no account by the given name.\n"
+ "1. \"account\" (string, optional) DEPRECATED. The account name for the address to be linked to. If not provided, the default account \"\" is used. It can also be set to the empty string \"\" to represent the default account. The account does not need to exist, it will be created if there is no account by the given name.\n"
"\nResult:\n"
"\"bitcoinaddress\" (string) The new bitcoin address\n"
"\nExamples:\n"
@@ -319,7 +319,7 @@ void SendMoney(const CTxDestination &address, CAmount nValue, CWalletTx& wtxNew)
if (pwalletMain->IsLocked())
{
strError = "Error: Wallet locked, unable to create transaction!";
- LogPrintf("SendMoney() : %s", strError);
+ LogPrintf("SendMoney(): %s", strError);
throw JSONRPCError(RPC_WALLET_ERROR, strError);
}
@@ -333,7 +333,7 @@ void SendMoney(const CTxDestination &address, CAmount nValue, CWalletTx& wtxNew)
{
if (nValue + nFeeRequired > pwalletMain->GetBalance())
strError = strprintf("Error: This transaction requires a transaction fee of at least %s because of its amount, complexity, or use of recently received funds!", FormatMoney(nFeeRequired));
- LogPrintf("SendMoney() : %s\n", strError);
+ LogPrintf("SendMoney(): %s\n", strError);
throw JSONRPCError(RPC_WALLET_ERROR, strError);
}
if (!pwalletMain->CommitTransaction(wtxNew, reservekey))