diff options
author | U-Zyn Chua <chua@uzyn.com> | 2020-04-13 16:22:30 +0800 |
---|---|---|
committer | U-Zyn Chua <chua@uzyn.com> | 2020-04-13 16:22:30 +0800 |
commit | c0af173da20cc4560523205bc268677a808a43df (patch) | |
tree | 57eb150c727e717428c95a64e4664e5116bcfc13 | |
parent | 5c1ba3a10a18c6edee20f27f3609ffbbbaa2e8f3 (diff) |
doc: default minconf for getbalance should be 0
-rw-r--r-- | src/wallet/rpcwallet.cpp | 4 |
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") |