Skip to content

Commit

Permalink
chore: fix some function names
Browse files Browse the repository at this point in the history
Signed-off-by: drawdrop <[email protected]>
  • Loading branch information
drawdrop committed Aug 12, 2024
1 parent cabbd30 commit ca558f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ingest/ledger_transaction_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (reader *LedgerTransactionReader) Seek(index int) error {
return nil
}

// storeHashes creates a mapping between hashes and envelopes in order to
// storeTransactions creates a mapping between hashes and envelopes in order to
// correctly provide a per-transaction view on-the-fly when Read() is called.
func (reader *LedgerTransactionReader) storeTransactions(networkPassphrase string) error {
// See https://github.com/stellar/go/pull/2720: envelopes in the meta (which
Expand Down
2 changes: 1 addition & 1 deletion ingest/ledgerbackend/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func unflattenTables(text string, tablePlaceHolders *placeholders) string {
})
}

// AddExamplePubnetQuorum adds example pubnet validators to toml file
// AddExamplePubnetValidators adds example pubnet validators to toml file
func (c *CaptiveCoreToml) AddExamplePubnetValidators() {
c.captiveCoreTomlValues.Validators = []Validator{
{
Expand Down
2 changes: 1 addition & 1 deletion services/horizon/internal/db2/history/operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func (q *OperationsQ) ForClaimableBalance(ctx context.Context, cbID string) *Ope
return q
}

// ForLiquidityPools filters the query to only operations pertaining to a
// ForLiquidityPool filters the query to only operations pertaining to a
// liquidity pool, specified by the liquidity pool id as an hex-encoded string.
func (q *OperationsQ) ForLiquidityPool(ctx context.Context, lpID string) *OperationsQ {
var hLP HistoryLiquidityPool
Expand Down

0 comments on commit ca558f1

Please sign in to comment.