From 7abfc5474c0f86e16c405f154570310468b635c2 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 19 Nov 2016 09:36:40 +0000 Subject: wallet: fix exporting outputs and key images with txes with two pubkeys This also needs to make sure to pick the correct one, in the case where cold signing caused to tx keys to be included. --- src/wallet/wallet2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wallet/wallet2.h') diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 6168873d5..23a39a85b 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -591,6 +591,7 @@ namespace tools template void get_outs(std::vector> &outs, const std::list &selected_transfers, size_t fake_outputs_count); bool wallet_generate_key_image_helper(const cryptonote::account_keys& ack, const crypto::public_key& tx_public_key, size_t real_output_index, cryptonote::keypair& in_ephemeral, crypto::key_image& ki); + crypto::public_key get_tx_pub_key_from_received_outs(const tools::wallet2::transfer_details &td) const; cryptonote::account_base m_account; std::string m_daemon_address; -- cgit v1.2.3