diff options
| author | Riccardo Spagni <ric@spagni.net> | 2015-08-24 19:20:10 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2015-08-24 19:20:12 +0200 |
| commit | 10f5e00b2197024eae2cde27ecb7f3e705e9e441 (patch) | |
| tree | ad354dd1a0f409e9acfa8959d4faa382d4f94bd1 /src/wallet/wallet_rpc_server.cpp | |
| parent | 776b4fc91a821be152f0f23e6873aabb78a72029 (diff) | |
| parent | 6c995710d8cdc8dbbb3da2d11dc8dfe335074ec9 (diff) | |
| download | monzero-core-10f5e00b2197024eae2cde27ecb7f3e705e9e441.tar.gz monzero-core-10f5e00b2197024eae2cde27ecb7f3e705e9e441.tar.xz monzero-core-10f5e00b2197024eae2cde27ecb7f3e705e9e441.zip | |
Merge pull request #380
6c99571 make tx keys available to the user (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
| -rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 7dfd64eef..0682f7743 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -218,6 +218,7 @@ namespace tools // populate response with tx hash res.tx_hash = boost::lexical_cast<std::string>(cryptonote::get_transaction_hash(ptx_vector.back().tx)); + res.tx_key = boost::lexical_cast<std::string>(ptx_vector.back().tx_key); return true; } catch (const tools::error::daemon_busy& e) @@ -274,6 +275,7 @@ namespace tools for (auto & ptx : ptx_vector) { res.tx_hash_list.push_back(boost::lexical_cast<std::string>(cryptonote::get_transaction_hash(ptx.tx))); + res.tx_key_list.push_back(boost::lexical_cast<std::string>(ptx.tx_key)); } return true; @@ -318,6 +320,7 @@ namespace tools for (auto & ptx : ptx_vector) { res.tx_hash_list.push_back(boost::lexical_cast<std::string>(cryptonote::get_transaction_hash(ptx.tx))); + res.tx_key_list.push_back(boost::lexical_cast<std::string>(ptx.tx_key)); } return true; |
