aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-08-20 22:55:41 +0200
committerMarcoFalke <falke.marco@gmail.com>2019-01-01 18:02:12 +0100
commitfa38d3df69851212fea7544badadc1c3e5369bf5 (patch)
treeb27113f062c60682952517260dbca707a0df6a66 /src/rpc
parentcbb91cd0ec8e858b986776723ed4dc25df4b74ee (diff)
downloadbitcoin-fa38d3df69851212fea7544badadc1c3e5369bf5.tar.xz
[rpc] Correct reconsiderblock help text, add test
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp
index ec87f42c93..bd229e5efa 100644
--- a/src/rpc/blockchain.cpp
+++ b/src/rpc/blockchain.cpp
@@ -1565,7 +1565,7 @@ static UniValue reconsiderblock(const JSONRPCRequest& request)
if (request.fHelp || request.params.size() != 1)
throw std::runtime_error(
RPCHelpMan{"reconsiderblock",
- "\nRemoves invalidity status of a block and its descendants, reconsider them for activation.\n"
+ "\nRemoves invalidity status of a block, its ancestors and its descendants, reconsider them for activation.\n"
"This can be used to undo the effects of invalidateblock.\n",
{
{"blockhash", RPCArg::Type::STR_HEX, /* opt */ false, /* default_val */ "", "the hash of the block to reconsider"},