mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 09:24:47 +00:00
wallet_rpc_server: include additional tx keys in sign_transfer response
Followup on #4552
This commit is contained in:
parent
963d247154
commit
1c04c21d6e
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue