aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2015-03-24 02:46:48 -0400
committerThomas Winget <tewinget@gmail.com>2015-03-24 02:47:15 -0400
commit8855a32044f53c5aa39feac305cd357a39f90d90 (patch)
treefac6db80df678edd802e189f6dddb6dcc290c18b /src/wallet/wallet_rpc_server.cpp
parent51e3579a809a01b4cc73891e44bba44b986f4840 (diff)
parent178b009e904d1addb2b9c82044283d02098444cd (diff)
downloadmonzero-core-8855a32044f53c5aa39feac305cd357a39f90d90.tar.gz
monzero-core-8855a32044f53c5aa39feac305cd357a39f90d90.tar.xz
monzero-core-8855a32044f53c5aa39feac305cd357a39f90d90.zip
Merge upstream to daemonize changes
Preparation for PR
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r--src/wallet/wallet_rpc_server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index f856e5b8a..e7940d57b 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -431,11 +431,13 @@ namespace tools
{
transfers_found = true;
}
+ auto txBlob = t_serializable_object_to_blob(td.m_tx);
wallet_rpc::transfer_details rpc_transfers;
rpc_transfers.amount = td.amount();
rpc_transfers.spent = td.m_spent;
rpc_transfers.global_index = td.m_global_output_index;
rpc_transfers.tx_hash = boost::lexical_cast<std::string>(cryptonote::get_transaction_hash(td.m_tx));
+ rpc_transfers.tx_size = txBlob.size();
res.transfers.push_back(rpc_transfers);
}
}