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
This commit is contained in:
moneromooo-monero 2016-02-03 21:08:03 +00:00
parent 3a0f4d8a57
commit 7658ac0f45
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -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