diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-12-26 18:00:45 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-12-26 18:00:45 +0000 |
commit | 18a5211173346f418efbd8f8917da0b6acd47017 (patch) | |
tree | 82bd65ec54bc801afedef09f8a47fc5c8d0e9e5f /src | |
parent | Merge pull request #565 (diff) | |
download | monero-18a5211173346f418efbd8f8917da0b6acd47017.tar.xz |
blockchain: Fix height in call to on_blockchain_dec
It was a noop anyway
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_core/blockchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index 71a2b8841..2f999b5e3 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -490,7 +490,7 @@ block Blockchain::pop_block_from_blockchain() } } } - m_tx_pool.on_blockchain_dec(m_blocks.size()-1, get_tail_id()); + m_tx_pool.on_blockchain_dec(m_db->height()-1, get_tail_id()); return popped_block; } |