Merge pull request #2506

c3de19ed json_object: add missing do_not_relay to tx_in_pool serialization (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-10-02 23:27:21 +04:00
commit db45291c8d
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -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)