json_object: add missing do_not_relay to tx_in_pool serialization
This commit is contained in:
parent
1f9058187c
commit
c3de19edd6
|
@ -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.receive_time, receive_time);
|
||||||
GET_FROM_JSON_OBJECT(val, tx.last_relayed_time, last_relayed_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.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)
|
void toJsonValue(rapidjson::Document& doc, const cryptonote::rpc::hard_fork_info& info, rapidjson::Value& val)
|
||||||
|
|
Loading…
Reference in New Issue