From 7658ac0f45c4aba0d88935047b225bfbc0ba2548 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 3 Feb 2016 21:08:03 +0000 Subject: [PATCH] blockchain: revert handle_get_objects adding block id on tx not found This differs from the original CN code, and there seems to be no reason to include the block itself, if it was found --- src/cryptonote_core/blockchain.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index f18173ae..afc479a4 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -1385,7 +1385,6 @@ bool Blockchain::handle_get_objects(NOTIFY_REQUEST_GET_OBJECTS::request& arg, NO << " transactions for block with hash: " << get_block_hash(bl) << std::endl ); - rsp.missed_ids.push_back(get_block_hash(bl)); // append missed transaction hashes to response missed_ids field, // as done below if any standalone transactions were requested