diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-12-25 22:04:13 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-12-25 22:04:13 +0000 |
commit | 22ddf09bea566afad8f6bb97c77c742e223643a4 (patch) | |
tree | ee994bed6ea8c6edc5a8fbba078e502fe44a211d /src/cryptonote_core/blockchain.cpp | |
parent | blockchain: fix switch to alternative blockchain for more than one block (diff) | |
download | monero-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.
Diffstat (limited to 'src/cryptonote_core/blockchain.cpp')
-rw-r--r-- | src/cryptonote_core/blockchain.cpp | 1 |
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; } |