diff options
author | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2021-05-11 19:00:52 +0900 |
---|---|---|
committer | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2021-05-11 19:00:52 +0900 |
commit | c8cf0a3d513b8c892f1ae16b8c0cda184064a07b (patch) | |
tree | 843c6dee1827a659fdee595b0fc030ac4a4117e8 /src/rpc | |
parent | eb4fb7e507b583bd4ae8d1e3747f41616c782ded (diff) |
rpc/getpeerinfo: bytesrecv_per_msg is a dynamic dictionary
It is not a dictionary with the single key 'msg'.
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index 382c6f11ff..109f1391b9 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -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" |