aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorU-Zyn Chua <chua@uzyn.com>2020-04-13 16:22:30 +0800
committerU-Zyn Chua <chua@uzyn.com>2020-04-13 16:22:30 +0800
commitc0af173da20cc4560523205bc268677a808a43df (patch)
tree57eb150c727e717428c95a64e4664e5116bcfc13 /src/wallet
parent5c1ba3a10a18c6edee20f27f3609ffbbbaa2e8f3 (diff)
downloadbitcoin-c0af173da20cc4560523205bc268677a808a43df.tar.xz
doc: default minconf for getbalance should be 0
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/rpcwallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp
index 5d34e592db..92276c7979 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -737,9 +737,9 @@ static UniValue getbalance(const JSONRPCRequest& request)
RPCResult::Type::STR_AMOUNT, "amount", "The total amount in " + CURRENCY_UNIT + " received for this wallet."
},
RPCExamples{
- "\nThe total amount in the wallet with 1 or more confirmations\n"
+ "\nThe total amount in the wallet with 0 or more confirmations\n"
+ HelpExampleCli("getbalance", "") +
- "\nThe total amount in the wallet at least 6 blocks confirmed\n"
+ "\nThe total amount in the wallet with at least 6 confirmations\n"
+ HelpExampleCli("getbalance", "\"*\" 6") +
"\nAs a JSON-RPC call\n"
+ HelpExampleRpc("getbalance", "\"*\", 6")