From c3de19edd69e06aea4d7af5a888438a1c38e4220 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 21 Sep 2017 13:24:54 +0100 Subject: [PATCH] json_object: add missing do_not_relay to tx_in_pool serialization --- src/serialization/json_object.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/serialization/json_object.cpp b/src/serialization/json_object.cpp index e35389f9c..a40821d19 100644 --- a/src/serialization/json_object.cpp +++ b/src/serialization/json_object.cpp @@ -776,6 +776,7 @@ void fromJsonValue(const rapidjson::Value& val, cryptonote::rpc::tx_in_pool& tx) GET_FROM_JSON_OBJECT(val, tx.receive_time, receive_time); GET_FROM_JSON_OBJECT(val, tx.last_relayed_time, last_relayed_time); GET_FROM_JSON_OBJECT(val, tx.relayed, relayed); + GET_FROM_JSON_OBJECT(val, tx.do_not_relay, do_not_relay); } void toJsonValue(rapidjson::Document& doc, const cryptonote::rpc::hard_fork_info& info, rapidjson::Value& val)