aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-26 18:00:45 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-26 18:00:45 +0000
commit18a5211173346f418efbd8f8917da0b6acd47017 (patch)
tree82bd65ec54bc801afedef09f8a47fc5c8d0e9e5f /src/cryptonote_core
parentMerge pull request #565 (diff)
downloadmonero-18a5211173346f418efbd8f8917da0b6acd47017.tar.xz
blockchain: Fix height in call to on_blockchain_dec
It was a noop anyway
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/blockchain.cpp2
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;
}