diff options
| author | Thomas Winget <tewinget@gmail.com> | 2015-01-14 17:41:46 -0500 |
|---|---|---|
| committer | Thomas Winget <tewinget@gmail.com> | 2015-01-14 17:41:46 -0500 |
| commit | 40e0b70075608cae9810de1667cdfe0b879049e1 (patch) | |
| tree | 901b3b7d434cfc01b2954ba84a5fab9bed75fe46 /src/cryptonote_core/blockchain_db.cpp | |
| parent | d43782f04124c3bcabfb4902ca27ee460c6563b2 (diff) | |
| parent | 800d9b9247530e3810a9e36699bdb96d782e51e4 (diff) | |
| download | monzero-core-40e0b70075608cae9810de1667cdfe0b879049e1.tar.gz monzero-core-40e0b70075608cae9810de1667cdfe0b879049e1.tar.xz monzero-core-40e0b70075608cae9810de1667cdfe0b879049e1.zip | |
Merge #22
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.cpp | 8 |
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)) |
