Skip to content

Commit d578398

Browse files
author
MarcoFalke
committed
Merge #18502: doc: Update docs for getbalance (default minconf should be 0)
c0af173 doc: default minconf for getbalance should be 0 (U-Zyn Chua) Pull request description: - Default `minconf` for `getbalance` is `0` but example in doc was showing as `1`. - `at least 6 blocks confirmed` now updated to be `at least 6 confirmations` to be more consistent with the terminology used elsewhere in the codebase and documentations. ACKs for top commit: theStack: re-ACK bitcoin/bitcoin@c0af173 Tree-SHA512: 8f67af78a222a4bd2957658b37fae2224783274f355af84f39a5ce0da90b21f03dc798a6408d44a724c353ff5ed7dfec943fb28726ec423028b64fc579f937ad
2 parents 4d26312 + c0af173 commit d578398

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -732,9 +732,9 @@ static UniValue getbalance(const JSONRPCRequest& request)
732732
RPCResult::Type::STR_AMOUNT, "amount", "The total amount in " + CURRENCY_UNIT + " received for this wallet."
733733
},
734734
RPCExamples{
735-
"\nThe total amount in the wallet with 1 or more confirmations\n"
735+
"\nThe total amount in the wallet with 0 or more confirmations\n"
736736
+ HelpExampleCli("getbalance", "") +
737-
"\nThe total amount in the wallet at least 6 blocks confirmed\n"
737+
"\nThe total amount in the wallet with at least 6 confirmations\n"
738738
+ HelpExampleCli("getbalance", "\"*\" 6") +
739739
"\nAs a JSON-RPC call\n"
740740
+ HelpExampleRpc("getbalance", "\"*\", 6")

0 commit comments

Comments
 (0)