diff --git a/process/block/preprocess/basePreProcess.go b/process/block/preprocess/basePreProcess.go index 37e33d887a7..82d42a26cae 100644 --- a/process/block/preprocess/basePreProcess.go +++ b/process/block/preprocess/basePreProcess.go @@ -323,10 +323,14 @@ func (bpp *basePreProcess) computeExistingAndRequestMissing( } txShardInfoObject := &txShardInfo{senderShardID: miniBlock.SenderShardID, receiverShardID: miniBlock.ReceiverShardID} + // TODO refactor this section method := process.SearchMethodJustPeek if miniBlock.Type == block.InvalidBlock { method = process.SearchMethodSearchFirst } + if miniBlock.Type == block.SmartContractResultBlock { + method = process.SearchMethodPeekWithFallbackSearchFirst + } for j := 0; j < len(miniBlock.TxHashes); j++ { txHash := miniBlock.TxHashes[j]