diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-17 11:25:09 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-17 11:25:33 +0000 |
commit | 3b9ce453a9261934c8ecc23b5e01c40ac572f7eb (patch) | |
tree | ca89ccd8be0213610fabda1cdddc692c3133e06a | |
parent | Merge pull request #5415 (diff) | |
download | monero-3b9ce453a9261934c8ecc23b5e01c40ac572f7eb.tar.xz |
wallet_rpc_server: remove unused variable
-rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 1dd589d41..254184bee 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -1835,14 +1835,12 @@ namespace tools wallet2::transfer_container transfers; m_wallet->get_transfers(transfers); - bool transfers_found = false; for (const auto& td : transfers) { if (!filter || available != td.m_spent) { if (req.account_index != td.m_subaddr_index.major || (!req.subaddr_indices.empty() && req.subaddr_indices.count(td.m_subaddr_index.minor) == 0)) continue; - transfers_found = true; wallet_rpc::transfer_details rpc_transfers; rpc_transfers.amount = td.amount(); rpc_transfers.spent = td.m_spent; |