Skip to content
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
4 changes: 2 additions & 2 deletions utils/pow_approx.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func computeExp(x sdkmath.LegacyDec) (sdkmath.LegacyDec, error) {
break
}
if n > powIterationLimit {
return sdkmath.LegacyDec{}, fmt.Errorf("failed to reach precision within %d iterations while comuting Exp for: %s", powIterationLimit, x.String())
return sdkmath.LegacyDec{}, fmt.Errorf("failed to reach precision within %d iterations while computing Exp for: %s", powIterationLimit, x.String())
}
}

Expand Down Expand Up @@ -96,7 +96,7 @@ func computeLn(x sdkmath.LegacyDec) (result sdkmath.LegacyDec, err error) {
}

if n > powIterationLimit {
return sdkmath.LegacyDec{}, fmt.Errorf("failed to reach precision within %d iterations while comuting Ln for: %s", powIterationLimit, x.String())
return sdkmath.LegacyDec{}, fmt.Errorf("failed to reach precision within %d iterations while computing Ln for: %s", powIterationLimit, x.String())
}

yPower = yPower.Mul(y)
Expand Down
2 changes: 1 addition & 1 deletion x/commitment/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
ptypes "github.com/elys-network/elys/v7/x/parameter/types"
)

// Interface declearation
// Interface declaration
type CommitmentKeeperI interface {
// Iterate all commitments
IterateCommitments(sdk.Context, func(types.Commitments) (stop bool))
Expand Down
4 changes: 2 additions & 2 deletions x/commitment/types/types_cw.pb.go

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