wallet_rpc_server: remove unused code

This commit is contained in:
moneromooo-monero 2019-04-13 21:15:52 +00:00
parent 8a61b33d8e
commit 9880d61b98
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 5 deletions

View File

@ -1842,11 +1842,7 @@ namespace tools
{ {
if (req.account_index != td.m_subaddr_index.major || (!req.subaddr_indices.empty() && req.subaddr_indices.count(td.m_subaddr_index.minor) == 0)) if (req.account_index != td.m_subaddr_index.major || (!req.subaddr_indices.empty() && req.subaddr_indices.count(td.m_subaddr_index.minor) == 0))
continue; continue;
if (!transfers_found)
{
transfers_found = true; transfers_found = true;
}
auto txBlob = t_serializable_object_to_blob(td.m_tx);
wallet_rpc::transfer_details rpc_transfers; wallet_rpc::transfer_details rpc_transfers;
rpc_transfers.amount = td.amount(); rpc_transfers.amount = td.amount();
rpc_transfers.spent = td.m_spent; rpc_transfers.spent = td.m_spent;