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:
parent
3a0f4d8a57
commit
7658ac0f45
|
@ -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)
|
<< " transactions for block with hash: " << get_block_hash(bl)
|
||||||
<< std::endl
|
<< std::endl
|
||||||
);
|
);
|
||||||
rsp.missed_ids.push_back(get_block_hash(bl));
|
|
||||||
|
|
||||||
// append missed transaction hashes to response missed_ids field,
|
// append missed transaction hashes to response missed_ids field,
|
||||||
// as done below if any standalone transactions were requested
|
// as done below if any standalone transactions were requested
|
||||||
|
|
Loading…
Reference in New Issue