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 comments #5358

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 clients/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Packages here provide client libraries for accessing the ecosystem of Stellar se
* `horizonclient` - programmatic client access to Horizon (use in conjunction with [txnbuild](../txnbuild))
* `stellartoml` - parse Stellar.toml files from the internet
* `federation` - resolve federation addresses into stellar account IDs, suitable for use within a transaction
* `horizon` (DEPRECATED) - the original Horizon client, now superceded by `horizonclient`
* `horizon` (DEPRECATED) - the original Horizon client, now superseded by `horizonclient`

See [GoDoc](https://godoc.org/github.com/stellar/go/clients) for more details.

Expand Down
2 changes: 1 addition & 1 deletion clients/horizonclient/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type limit uint
// Order represents `order` param in queries
type Order string

// assetCode represets `asset_code` param in queries
// assetCode represents `asset_code` param in queries
type assetCode string

// assetIssuer represents `asset_issuer` param in queries
Expand Down
2 changes: 1 addition & 1 deletion clients/horizonclient/order_book_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func (obr OrderBookRequest) BuildURL() (endpoint string, err error) {
endpoint = "order_book"

// add the parameters to a map here so it is easier for addQueryParams to populate the parameter list
// We can't use assetCode and assetIssuer types here because the paremeter names are different
// We can't use assetCode and assetIssuer types here because the parameter names are different
paramMap := make(map[string]string)
paramMap["selling_asset_type"] = string(obr.SellingAssetType)
paramMap["selling_asset_code"] = obr.SellingAssetCode
Expand Down
2 changes: 1 addition & 1 deletion clients/horizonclient/paths_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func (pr PathsRequest) BuildURL() (endpoint string, err error) {
endpoint = "paths"

// add the parameters to a map here so it is easier for addQueryParams to populate the parameter list
// We can't use assetCode and assetIssuer types here because the paremeter names are different
// We can't use assetCode and assetIssuer types here because the parameter names are different
paramMap := make(map[string]string)
paramMap["destination_account"] = pr.DestinationAccount
paramMap["destination_asset_type"] = string(pr.DestinationAssetType)
Expand Down