blockchain: Fix height in call to on_blockchain_dec

It was a noop anyway
This commit is contained in:
moneromooo-monero 2015-12-26 18:00:45 +00:00
parent 95ceb715dc
commit 18a5211173
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -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;
}