From 374f388de21b253c165792a893cdb4f158cdc24b Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 10 Apr 2019 10:37:34 +0000 Subject: wallet_rpc_server: add a all flag to export_outputs if we don't want to export new outputs only --- src/wallet/wallet_rpc_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet/wallet_rpc_server.cpp') diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 92265d954..79053e02b 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -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) { -- cgit v1.2.3