protected virtual async Task CrawlTransaction(CrawlerStepCompleted <BlockWithTransactions> completedStep, Transaction txn) { var currentStepCompleted = await TransactionWithBlockCrawlerStep.ExecuteStepAsync( new TransactionVO(txn, completedStep.StepData), completedStep.ExecutedStepsCollection); if (currentStepCompleted.ExecutedStepsCollection.Any()) { await CrawlTransactionReceipt(currentStepCompleted); } }
protected virtual async Task CrawlTransactionAsync(CrawlerStepCompleted <BlockWithTransactions> completedStep, Transaction txn) { var currentStepCompleted = await TransactionWithBlockCrawlerStep.ExecuteStepAsync( new TransactionVO(txn, completedStep.StepData), completedStep.ExecutedStepsCollection).ConfigureAwait(false); if (currentStepCompleted.ExecutedStepsCollection.Any() && TransactionWithReceiptCrawlerStep.Enabled) { await CrawlTransactionReceiptAsync(currentStepCompleted).ConfigureAwait(false); } }