Skip to content

Commit

Permalink
wallet_rpc_server: include additional tx keys in sign_transfer response
Browse files Browse the repository at this point in the history
  • Loading branch information
stoffu authored and Agreene committed Jan 28, 2019
1 parent 15421ee commit 25cab23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/wallet/wallet_rpc_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,11 @@ namespace tools
{
res.tx_hash_list.push_back(epee::string_tools::pod_to_hex(cryptonote::get_transaction_hash(ptx.tx)));
if (req.get_tx_keys)
{
res.tx_key_list.push_back(epee::string_tools::pod_to_hex(ptx.tx_key));
for (const crypto::secret_key& additional_tx_key : ptx.additional_tx_keys)
res.tx_key_list.back() += epee::string_tools::pod_to_hex(additional_tx_key);
}
}

if (req.export_raw)
Expand Down

0 comments on commit 25cab23

Please sign in to comment.