wallet_rpc_server: add a all flag to export_outputs

if we don't want to export new outputs only
This commit is contained in:
moneromooo-monero 2019-04-10 10:37:34 +00:00
parent 5dbcceb664
commit 374f388de2
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
4 changed files with 13 additions and 9 deletions

View file

@ -2518,7 +2518,7 @@ namespace tools
try
{
res.outputs_data_hex = epee::string_tools::buff_to_hex_nodelimer(m_wallet->export_outputs_to_str());
res.outputs_data_hex = epee::string_tools::buff_to_hex_nodelimer(m_wallet->export_outputs_to_str(req.all));
}
catch (const std::exception &e)
{