aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-25 22:04:13 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-25 22:04:13 +0000
commit22ddf09bea566afad8f6bb97c77c742e223643a4 (patch)
treeee994bed6ea8c6edc5a8fbba078e502fe44a211d
parentblockchain: fix switch to alternative blockchain for more than one block (diff)
downloadmonero-22ddf09bea566afad8f6bb97c77c742e223643a4.tar.xz
blockchain: add missing m_tx_pool.on_blockchain_dec
It was missing in the port to DB. This is actually a noop, so should not have functional changes.
-rw-r--r--src/cryptonote_core/blockchain.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index 128dd9e48..6bdbdf4cd 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -490,6 +490,7 @@ block Blockchain::pop_block_from_blockchain()
}
}
}
+ m_tx_pool.on_blockchain_dec(m_blocks.size()-1, get_tail_id());
return popped_block;
}