diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-12-05 11:30:07 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-01 19:24:35 +0000 |
commit | 631ef00e76040f8d5cc77713d1e7bef4c04df8fd (patch) | |
tree | 1fb1c6515566fd8daf6ee54c7cc66d84342b4e97 | |
parent | Merge pull request #5318 (diff) | |
download | monero-631ef00e76040f8d5cc77713d1e7bef4c04df8fd.tar.xz |
blockchain: some debug info when adding txes-from-block fails
-rw-r--r-- | src/cryptonote_core/blockchain.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index 83d3044f8..6a3ea79a5 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -3688,6 +3688,8 @@ leave: //TODO: why is this done? make sure that keeping invalid blocks makes sense. add_block_as_invalid(bl, id); MERROR_VER("Block with id " << id << " added as invalid because of wrong inputs in transactions"); + MERROR_VER("tx_index " << tx_index << ", m_blocks_txs_check " << m_blocks_txs_check.size() << ":"); + for (const auto &h: m_blocks_txs_check) MERROR_VER(" " << h); bvc.m_verifivation_failed = true; return_tx_to_pool(txs); goto leave; |