aboutsummaryrefslogtreecommitdiff
path: root/src/serialization
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-21 13:24:54 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-21 13:37:30 +0100
commitc3de19edd69e06aea4d7af5a888438a1c38e4220 (patch)
tree229a419d4a09057f8d9f2e8a4afe21f6631d41b5 /src/serialization
parentMerge pull request #2496 (diff)
downloadmonero-c3de19edd69e06aea4d7af5a888438a1c38e4220.tar.xz
json_object: add missing do_not_relay to tx_in_pool serialization
Diffstat (limited to 'src/serialization')
-rw-r--r--src/serialization/json_object.cpp1
1 files changed, 1 insertions, 0 deletions
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)