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.
This commit is contained in:
moneromooo-monero
2016-11-19 09:36:40 +00:00
parent dbf2ab56c5
commit 7abfc5474c
2 changed files with 52 additions and 7 deletions
+1
View File
@@ -591,6 +591,7 @@ namespace tools
template<typename entry>
void get_outs(std::vector<std::vector<entry>> &outs, const std::list<size_t> &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;