Skip to content

Commit f52cb02

Browse files
committed
doc: make it clear that node in addnode refers to the node's address
1 parent effd1ef commit f52cb02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rpc/net.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ static RPCHelpMan addnode()
287287
strprintf("Addnode connections are limited to %u at a time", MAX_ADDNODE_CONNECTIONS) +
288288
" and are counted separately from the -maxconnections limit.\n",
289289
{
290-
{"node", RPCArg::Type::STR, RPCArg::Optional::NO, "The node (see getpeerinfo for nodes)"},
290+
{"node", RPCArg::Type::STR, RPCArg::Optional::NO, "The address of the peer to connect to"},
291291
{"command", RPCArg::Type::STR, RPCArg::Optional::NO, "'add' to add a node to the list, 'remove' to remove a node from the list, 'onetry' to try a connection to the node once"},
292292
},
293293
RPCResult{RPCResult::Type::NONE, "", ""},

0 commit comments

Comments
 (0)