diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-04-11 13:02:59 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-04-11 13:02:59 +0200 |
commit | 915d9e5a1f795ff619691a30f81b30b5f780967a (patch) | |
tree | 67c0b149caa8854dcc567973642737848ad2782a /src/cryptonote_core/blockchain.cpp | |
parent | Merge pull request #5379 (diff) | |
parent | blockchain_stats: fix sign in formatting function (diff) | |
download | monero-915d9e5a1f795ff619691a30f81b30b5f780967a.tar.xz |
Merge pull request #5380
113e4877 blockchain_stats: fix sign in formatting function (moneromooo-monero)
adaea3ea various: remove unused variables (moneromooo-monero)
631ef00e blockchain: some debug info when adding txes-from-block fails (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core/blockchain.cpp')
-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 08f077f07..8ab249ac1 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -3690,6 +3690,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; |