aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/message.cpp
diff options
context:
space:
mode:
authorLee Clagett <code@leeclagett.com>2020-05-31 01:22:33 -0400
committerLee Clagett <code@leeclagett.com>2020-08-14 23:01:00 +0000
commit4e2377995d286eb01456ed1dfd29cd278282ec19 (patch)
treec722a778b7c07d71008d35ce6d5907f92a7de25e /src/rpc/message.cpp
parentMerge pull request #6582 (diff)
downloadmonero-4e2377995d286eb01456ed1dfd29cd278282ec19.tar.xz
Change ZMQ-JSON txextra to hex and remove unnecessary base fields
Diffstat (limited to 'src/rpc/message.cpp')
-rw-r--r--src/rpc/message.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/rpc/message.cpp b/src/rpc/message.cpp
index fffb44921..c3fbc4ce2 100644
--- a/src/rpc/message.cpp
+++ b/src/rpc/message.cpp
@@ -65,8 +65,6 @@ const rapidjson::Value& get_method_field(const rapidjson::Value& src)
void Message::toJson(rapidjson::Writer<epee::byte_stream>& dest) const
{
dest.StartObject();
- INSERT_INTO_JSON_OBJECT(dest, status, status);
- INSERT_INTO_JSON_OBJECT(dest, error_details, error_details);
INSERT_INTO_JSON_OBJECT(dest, rpc_version, DAEMON_RPC_VERSION_ZMQ);
doToJson(dest);
dest.EndObject();
@@ -74,8 +72,6 @@ void Message::toJson(rapidjson::Writer<epee::byte_stream>& dest) const
void Message::fromJson(const rapidjson::Value& val)
{
- GET_FROM_JSON_OBJECT(val, status, status);
- GET_FROM_JSON_OBJECT(val, error_details, error_details);
GET_FROM_JSON_OBJECT(val, rpc_version, rpc_version);
}