Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove repetitive words #5453

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ingest/ledger_change_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (c *compactingChangeReader) Close() error {
}

// NewCompactingChangeReader wraps a given ChangeReader and returns a ChangeReader
// which compacts all the the Changes extracted from the input.
// which compacts all the Changes extracted from the input.
func NewCompactingChangeReader(input ChangeReader) ChangeReader {
return &compactingChangeReader{
input: input,
Expand Down
2 changes: 1 addition & 1 deletion ingest/ledgerbackend/ledger_buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func (lb *ledgerBuffer) worker(ctx context.Context) {
// When we store an object we still maintain the ledger buffer invariant because
// at this point the current task is finished and we add 1 ledger object to the priority queue.
// Thus, the number of tasks decreases by 1 and the priority queue length increases by 1.
// This keeps the overall total the same (<= BufferSize). As long as the the ledger buffer invariant
// This keeps the overall total the same (<= BufferSize). As long as the ledger buffer invariant
// was maintained in the previous state, it is still maintained during this state transition.
lb.storeObject(ledgerObject, sequence)
break
Expand Down
2 changes: 1 addition & 1 deletion services/horizon/internal/ingest/orderbook.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ func (o *OrderBookStream) verifyAllLiquidityPools(ctx context.Context, liquidity

// Update will query the Horizon DB for offers which have been created, removed, or updated since the
// last time Update() was called. Those changes will then be applied to the in memory order book graph.
// After calling this function, the the in memory order book graph should be consistent with the
// After calling this function, the in memory order book graph should be consistent with the
// Horizon DB (assuming no error is returned).
func (o *OrderBookStream) Update(ctx context.Context) error {
if err := o.historyQ.BeginTx(ctx, &sql.TxOptions{ReadOnly: true, Isolation: sql.LevelRepeatableRead}); err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func TestTxApproveHandler_handleActionRequiredResponseIfNeeded(t *testing.T) {
db: conn,
}

// payments up to the the threshold won't trigger "action_required"
// payments up to the threshold won't trigger "action_required"
clientKP := keypair.MustRandom()
paymentOp := &txnbuild.Payment{
Amount: amount.StringFromInt64(kycThreshold),
Expand Down