mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-02 09:46:52 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ static RPCHelpMan getpeerinfo()
|
|||
"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."}
|
||||
}},
|
||||
{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"
|
||||
"When a message type is not listed in this json object, the bytes received are 0.\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue