aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain_db.cpp
diff options
context:
space:
mode:
authorwarptangent <warptangent@inbox.com>2015-01-14 13:41:37 -0800
committerwarptangent <warptangent@inbox.com>2015-01-14 13:41:57 -0800
commit800d9b9247530e3810a9e36699bdb96d782e51e4 (patch)
tree901b3b7d434cfc01b2954ba84a5fab9bed75fe46 /src/cryptonote_core/blockchain_db.cpp
parentMerge pull request #21 from warptangent/fix_block_reorg (diff)
downloadmonero-800d9b9247530e3810a9e36699bdb96d782e51e4.tar.xz
Remove code previously made unused and marked unused
Diffstat (limited to 'src/cryptonote_core/blockchain_db.cpp')
-rw-r--r--src/cryptonote_core/blockchain_db.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cryptonote_core/blockchain_db.cpp b/src/cryptonote_core/blockchain_db.cpp
index 5e781af79..0ee10bd4d 100644
--- a/src/cryptonote_core/blockchain_db.cpp
+++ b/src/cryptonote_core/blockchain_db.cpp
@@ -107,14 +107,6 @@ void BlockchainDB::remove_transaction(const crypto::hash& tx_hash)
{
transaction tx = get_tx(tx_hash);
- // TODO: This loop calling remove_output() should be removed. It doesn't do
- // anything (function is empty), and the outputs were already intended to be
- // removed later as part of remove_transaction_data().
- for (const tx_out& tx_output : tx.vout)
- {
- remove_output(tx_output);
- }
-
for (const txin_v& tx_input : tx.vin)
{
if (tx_input.type() == typeid(txin_to_key))