Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix linter warnings
Browse files Browse the repository at this point in the history
urvisavla committed Nov 7, 2023

Verified

This commit was signed with the committer’s verified signature.
1 parent 824caf1 commit 40a230b
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions services/horizon/internal/ingest/processor_runner.go
Original file line number Diff line number Diff line change
@@ -109,7 +109,6 @@ func (s *ProcessorRunner) DisableMemoryStatsLogging() {

func buildChangeProcessor(
historyQ history.IngestionQ,
session db.SessionInterface,
changeStats *ingest.StatsChangeProcessor,
source ingestionSource,
ledgerSequence uint32,
@@ -240,7 +239,6 @@ func (s *ProcessorRunner) RunHistoryArchiveIngestion(
changeStats := ingest.StatsChangeProcessor{}
changeProcessor := buildChangeProcessor(
s.historyQ,
s.session,
&changeStats,
historyArchiveSource,
checkpointLedger,
@@ -406,7 +404,6 @@ func (s *ProcessorRunner) RunAllProcessorsOnLedger(ledger xdr.LedgerCloseMeta) (

groupChangeProcessors := buildChangeProcessor(
s.historyQ,
s.session,
&changeStatsProcessor,
ledgerSource,
ledger.LedgerSequence(),
Original file line number Diff line number Diff line change
@@ -10,7 +10,6 @@ import (

"github.com/stellar/go/ingest"
"github.com/stellar/go/services/horizon/internal/db2/history"
"github.com/stellar/go/support/db"
"github.com/stellar/go/xdr"
"github.com/stretchr/testify/suite"
)
@@ -26,7 +25,6 @@ type ClaimableBalancesChangeProcessorTestSuiteState struct {
mockQ *history.MockQClaimableBalances
mockClaimantsBatchInsertBuilder *history.MockClaimableBalanceClaimantBatchInsertBuilder
mockClaimableBalanceBatchInsertBuilder *history.MockClaimableBalanceBatchInsertBuilder
session db.SessionInterface
}

func (s *ClaimableBalancesChangeProcessorTestSuiteState) SetupTest() {
@@ -125,7 +123,6 @@ type ClaimableBalancesChangeProcessorTestSuiteLedger struct {
mockQ *history.MockQClaimableBalances
mockClaimantsBatchInsertBuilder *history.MockClaimableBalanceClaimantBatchInsertBuilder
mockClaimableBalanceBatchInsertBuilder *history.MockClaimableBalanceBatchInsertBuilder
session db.SessionInterface
}

func (s *ClaimableBalancesChangeProcessorTestSuiteLedger) SetupTest() {

0 comments on commit 40a230b

Please sign in to comment.