aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain_db.cpp
diff options
context:
space:
mode:
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))