Remove debugging code

This commit is contained in:
Eric Frias 2015-09-11 19:27:31 -04:00
parent 1202c0258d
commit 30ae8e4f34

View file

@ -675,15 +675,7 @@ namespace detail {
if (low_block_num <= non_fork_high_block_num) if (low_block_num <= non_fork_high_block_num)
synopsis.push_back(_chain_db->get_block_id_for_num(low_block_num)); synopsis.push_back(_chain_db->get_block_id_for_num(low_block_num));
else else
{
// for debugging
int index = low_block_num - non_fork_high_block_num - 1;
if (index < 0 || index > fork_history.size())
{
int i = 0;
}
synopsis.push_back(fork_history[low_block_num - non_fork_high_block_num - 1]); synopsis.push_back(fork_history[low_block_num - non_fork_high_block_num - 1]);
}
low_block_num += (true_high_block_num - low_block_num + 2) / 2; low_block_num += (true_high_block_num - low_block_num + 2) / 2;
} }
while (low_block_num <= high_block_num); while (low_block_num <= high_block_num);