Skip to content

Commit

Permalink
Fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Apr 6, 2022
1 parent ac8bc82 commit 3179fbd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmd/mempool/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ func NewIndexer(ctx context.Context, network string, indexerCfg config.Indexer,
return nil, err
}

blockTime := constants.MinimalBlockDelay
if blockTime == 0 {
blockTime = constants.TimeBetweenBlocks[0]
}

memInd, err := receiver.New(indexerCfg.DataSource.RPC, network,
receiver.WithStorage(db),
receiver.WithPrometheus(prom),
Expand Down

0 comments on commit 3179fbd

Please sign in to comment.