diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-08-06 19:19:25 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-08-28 21:30:10 +0100 |
commit | a47ceee83b0e04a3c440d9ca5a75cf0ac1d9256e (patch) | |
tree | 4852efeff376ad287d322d34253967497d923a0b /src/wallet/wallet_rpc_server.cpp | |
parent | core: add some locking around pool use (diff) | |
download | monero-a47ceee83b0e04a3c440d9ca5a75cf0ac1d9256e.tar.xz |
wallet: do not store signatures in the wallet cache
Saves some substantial space.
Also avoid calculating tx hashes we don't need.
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 20a9ebe93..1786b776f 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -729,7 +729,7 @@ namespace tools rpc_transfers.amount = td.amount(); rpc_transfers.spent = td.m_spent; rpc_transfers.global_index = td.m_global_output_index; - rpc_transfers.tx_hash = epee::string_tools::pod_to_hex(cryptonote::get_transaction_hash(td.m_tx)); + rpc_transfers.tx_hash = epee::string_tools::pod_to_hex(td.m_txid); rpc_transfers.tx_size = txBlob.size(); res.transfers.push_back(rpc_transfers); } |