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

Fix typos in Proto and Go files #812

Open
wants to merge 7 commits into
base: main
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 proto/neutron/dex/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ message QueryEstimateMultiHopSwapRequest {
];

// If pickBestRoute == true then all routes are run and the route with the
// best price is chosen otherwise, the first succesful route is used.
// best price is chosen otherwise, the first successful route is used.
bool pick_best_route = 6;
}

Expand Down
4 changes: 2 additions & 2 deletions utils/math/prec_dec.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

// NOTE: This file is nearly direct copy from cosmossdk.io/math/dec.go @v1.01
// The Precesion has been changed from 18 to 27
// The precision has been changed from 18 to 27

// NOTE: never use new(Dec) or else we will panic unmarshalling into the
// nil embedded big.Int
Expand Down Expand Up @@ -718,7 +718,7 @@ func (d PrecDec) TruncatePrecDec() PrecDec {
return NewPrecDecFromBigInt(chopPrecisionAndTruncateNonMutative(d.i))
}

// Ceil returns the smallest interger value (as a decimal) that is greater than
// Ceil returns the smallest integer value (as a decimal) that is greater than
// or equal to the given decimal.
func (d PrecDec) Ceil() PrecDec {
tmp := new(big.Int).Set(d.i)
Expand Down
2 changes: 1 addition & 1 deletion x/dex/types/query.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion x/dex/types/tx.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.