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: fix some function names #5420

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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_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