mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-19 16:18:40 +02:00
update to monero-project v0.17.2.0
This commit is contained in:
Vendored
+1
-1
Submodule external/monero-project updated: 28f60ef569...d3fd7d37f5
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user