mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-02 19:19:41 +01:00
doc: Fix typos pointed out by lint-spelling
This commit is contained in:
@@ -790,10 +790,10 @@ static RPCHelpMan getblockfrompeer()
|
||||
{
|
||||
return RPCHelpMan{
|
||||
"getblockfrompeer",
|
||||
"Attempt to fetch block from a given peer.\n"
|
||||
"\nWe must have the header for this block, e.g. using submitheader.\n"
|
||||
"Subsequent calls for the same block and a new peer will cause the response from the previous peer to be ignored.\n"
|
||||
"\nReturns an empty JSON object if the request was successfully scheduled.",
|
||||
"Attempt to fetch block from a given peer.\n\n"
|
||||
"We must have the header for this block, e.g. using submitheader.\n"
|
||||
"Subsequent calls for the same block and a new peer will cause the response from the previous peer to be ignored.\n\n"
|
||||
"Returns an empty JSON object if the request was successfully scheduled.",
|
||||
{
|
||||
{"block_hash", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "The block hash to try to fetch"},
|
||||
{"peer_id", RPCArg::Type::NUM, RPCArg::Optional::NO, "The peer to fetch it from (see getpeerinfo for peer IDs)"},
|
||||
|
||||
Reference in New Issue
Block a user