Skip to content

Commit fa5e6ef

Browse files
author
MarcoFalke
committed
wallet: Fixup rescanblockchain result doc
1 parent 7275365 commit fa5e6ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3408,12 +3408,12 @@ UniValue rescanblockchain(const JSONRPCRequest& request)
34083408
"\nRescan the local blockchain for wallet related transactions.\n",
34093409
{
34103410
{"start_height", RPCArg::Type::NUM, /* opt */ true, /* default_val */ "0", "block height where the rescan should start"},
3411-
{"stop_height", RPCArg::Type::NUM, /* opt */ true, /* default_val */ "tip height", "the last block height that should be scanned"},
3411+
{"stop_height", RPCArg::Type::NUM, /* opt */ true, /* default_val */ "", "the last block height that should be scanned. If none is provided it will rescan up to the tip at return time of this call."},
34123412
},
34133413
RPCResult{
34143414
"{\n"
3415-
" \"start_height\" (numeric) The block height where the rescan has started. If omitted, rescan started from the genesis block.\n"
3416-
" \"stop_height\" (numeric) The height of the last rescanned block. If omitted, rescan stopped at the chain tip.\n"
3415+
" \"start_height\" (numeric) The block height where the rescan has started.\n"
3416+
" \"stop_height\" (numeric) The height of the last rescanned block.\n"
34173417
"}\n"
34183418
},
34193419
RPCExamples{

0 commit comments

Comments
 (0)