From 18a5211173346f418efbd8f8917da0b6acd47017 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 26 Dec 2015 18:00:45 +0000 Subject: blockchain: Fix height in call to on_blockchain_dec It was a noop anyway --- src/cryptonote_core/blockchain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3