more debug code

This commit is contained in:
who asks? 2024-07-18 19:02:08 -06:00
parent 26913952a6
commit c5822d77ce
2 changed files with 3 additions and 3 deletions

View File

@ -3022,8 +3022,8 @@ bool wallet_rpc_server::on_import_encrypted_key_images(const wallet_rpc::COMMAND
}
std::cout << "encrypted_key_images_blob: " << req.encrypted_key_images_blob;
std::cout << "data: " << data;
std::cout << "encrypted_key_images_blob: " << req.encrypted_key_images_blob << std::endl;
std::cout << "data: " << data << std::endl;
// Debug: Print the first few bytes of the decoded data
std::cout << "First 32 bytes of decoded data: ";
for (size_t i = 0; i < std::min(data.size(), size_t(32)); ++i) {

View File

@ -1858,7 +1858,7 @@ namespace tools
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE_OPT(offset, (uint32_t)0)
KV_SERIALIZE(encrypted_key_images_blob)
KV_SERIALIZE_OPT(encrypted_key_images_blob, "WTF")
END_KV_SERIALIZE_MAP()
};
typedef epee::misc_utils::struct_init<request_t> request;