diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-06-01 19:42:33 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-06-01 19:42:33 +0100 |
commit | 6fc2dc3927b2d561566202b6b9ecc5e889960c72 (patch) | |
tree | 61f2ca9067022f902533aa8babc0a064f20e01aa | |
parent | Merge pull request #2059 (diff) | |
download | monero-6fc2dc3927b2d561566202b6b9ecc5e889960c72.tar.xz |
cryptonote_protocol_handler: fix crash in debug log
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_handler.inl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.inl b/src/cryptonote_protocol/cryptonote_protocol_handler.inl index 8b41ce514..4a8b60d65 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl @@ -662,9 +662,6 @@ namespace cryptonote return 1; } - for (auto txidx: arg.missing_tx_indices) - MDEBUG(" tx " << b.tx_hashes[txidx]); - std::vector<crypto::hash> txids; NOTIFY_NEW_FLUFFY_BLOCK::request fluffy_response; fluffy_response.b.block = t_serializable_object_to_blob(b); @@ -674,6 +671,7 @@ namespace cryptonote { if(tx_idx < b.tx_hashes.size()) { + MDEBUG(" tx " << b.tx_hashes[tx_idx]); txids.push_back(b.tx_hashes[tx_idx]); } else |