mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-31 02:02:47 +02:00
rpc/getpeerinfo: bytesrecv_per_msg is a dynamic dictionary
It is not a dictionary with the single key 'msg'.
This commit is contained in:
parent
eb4fb7e507
commit
c8cf0a3d51
@ -159,7 +159,7 @@ static RPCHelpMan getpeerinfo()
|
|||||||
"When a message type is not listed in this json object, the bytes sent are 0.\n"
|
"When a message type is not listed in this json object, the bytes sent are 0.\n"
|
||||||
"Only known message types can appear as keys in the object."}
|
"Only known message types can appear as keys in the object."}
|
||||||
}},
|
}},
|
||||||
{RPCResult::Type::OBJ, "bytesrecv_per_msg", "",
|
{RPCResult::Type::OBJ_DYN, "bytesrecv_per_msg", "",
|
||||||
{
|
{
|
||||||
{RPCResult::Type::NUM, "msg", "The total bytes received aggregated by message type\n"
|
{RPCResult::Type::NUM, "msg", "The total bytes received aggregated by message type\n"
|
||||||
"When a message type is not listed in this json object, the bytes received are 0.\n"
|
"When a message type is not listed in this json object, the bytes received are 0.\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user