forked from lthn/blockchain
more logs in error reporting
This commit is contained in:
parent
4987bfe6c5
commit
afea59a25a
1 changed files with 1 additions and 1 deletions
|
|
@ -2625,7 +2625,7 @@ bool blockchain_storage::find_blockchain_supplement(const std::list<crypto::hash
|
|||
blocks.back().first = m_db_blocks[i];
|
||||
std::list<crypto::hash> mis;
|
||||
get_transactions_direct(m_db_blocks[i]->bl.tx_hashes, blocks.back().second, mis);
|
||||
CHECK_AND_ASSERT_MES(!mis.size(), false, "internal error, transaction from block not found");
|
||||
CHECK_AND_ASSERT_MES(!mis.size(), false, "internal error, transaction from block " << get_block_hash(m_db_blocks[i]->bl) << "[" << i << "] not found" );
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue