update to monero-project v0.17.2.0

This commit is contained in:
woodser
2021-04-12 10:05:00 -04:00
parent 3cf29dfd7c
commit c83ab742bf
3 changed files with 3 additions and 5 deletions
+1 -3
View File
@@ -82,9 +82,7 @@ void monero_utils::validate_address(const std::string& address, monero_network_t
void monero_utils::json_to_binary(const std::string &json, std::string &bin) {
epee::serialization::portable_storage ps;
ps.load_from_json(json);
epee::byte_slice bin_slice;
ps.store_to_binary(bin_slice);
bin.assign(reinterpret_cast<const char*>(bin_slice.data()), bin_slice.size());
ps.store_to_binary(bin);
}
void monero_utils::binary_to_json(const std::string &bin, std::string &json) {
+1 -1
View File
@@ -370,7 +370,7 @@ namespace monero {
output->m_subaddress_index = td.m_subaddr_index.minor;
output->m_is_spent = td.m_spent;
output->m_is_frozen = td.m_frozen;
output->m_stealth_public_key = epee::string_tools::pod_to_hex(td.get_public_key());
//output->m_stealth_public_key = epee::string_tools::pod_to_hex(td.get_public_key());
if (td.m_key_image_known) {
output->m_key_image = std::make_shared<monero_key_image>();
output->m_key_image.get()->m_hex = epee::string_tools::pod_to_hex(td.m_key_image);