From 67e76aa06c3db2a82f98fa6a74fff5feb4f4199d Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 10 Oct 2018 15:54:59 +0000 Subject: [PATCH] wallet_rpc_server: optionally return tx keys in sign_transfer --- src/wallet/wallet2.cpp | 4 ++++ src/wallet/wallet_rpc_server.cpp | 2 ++ src/wallet/wallet_rpc_server_commands_defs.h | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index f87edf506..680f3a214 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -5607,6 +5607,10 @@ bool wallet2::sign_tx(unsigned_tx_set &exported_txs, std::vector tx_hash_list; std::list tx_raw_list; + std::list tx_key_list; BEGIN_KV_SERIALIZE_MAP() KV_SERIALIZE(signed_txset) KV_SERIALIZE(tx_hash_list) KV_SERIALIZE(tx_raw_list) + KV_SERIALIZE(tx_key_list) END_KV_SERIALIZE_MAP() }; };