Merge pull request #4552

67e76aa0 wallet_rpc_server: optionally return tx keys in sign_transfer (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2018-10-26 22:32:34 +02:00
commit 169e6e9074
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
3 changed files with 10 additions and 0 deletions

View file

@ -981,6 +981,8 @@ namespace tools
for (auto &ptx: ptxs)
{
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));
}
if (req.export_raw)