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: remove repeated words #747

Open
wants to merge 4 commits into
base: dev
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 app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const (
appName = "BabylonApp"

// Custom prefix for application environmental variables.
// From cosmos version 0.46 is is possible to have custom prefix for application
// From cosmos version 0.46 is possible to have custom prefix for application
// environmental variables - https://github.com/cosmos/cosmos-sdk/pull/10950
BabylonAppEnvPrefix = ""

Expand Down
2 changes: 1 addition & 1 deletion x/btclightclient/keeper/state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func FuzzHeadersStateCreateHeader(f *testing.F) {
Data generation:
- Create four headers:
1. The Base header. This will test whether the tip is set.
2. Create random chain of of headers, and insert them into the state
2. Create random chain of headers, and insert them into the state
3. All operations should be consistent with each other.
*/
datagen.AddRandomSeedsToFuzzer(f, 10)
Expand Down
2 changes: 1 addition & 1 deletion x/btcstaking/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ func (ms msgServer) CreateBTCDelegation(goCtx context.Context, req *types.MsgCre

// Check unbonding tx fees against staking tx.
// - fee is larger than 0
// - ubonding output value is is at leat `MinUnbondingValue` percent of staking output value
// - ubonding output value is at leat `MinUnbondingValue` percent of staking output value
if unbondingMsgTx.TxOut[0].Value >= stakingMsgTx.TxOut[newBTCDel.StakingOutputIdx].Value {
// Note: we do not enfore any minimum fee for unbonding tx, we only require that it is larger than 0
// Given that unbonding tx must not be replacable and we do not allow sending it second time, it places
Expand Down
2 changes: 1 addition & 1 deletion x/incentive/keeper/reward_gauge.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (k Keeper) withdrawReward(ctx context.Context, sType types.StakeholderType,
return withdrawableCoins, nil
}

// accumulateRewardGauge accumulates the given reward of of a given stakeholder in a given type
// accumulateRewardGauge accumulates the given reward of a given stakeholder in a given type
func (k Keeper) accumulateRewardGauge(ctx context.Context, sType types.StakeholderType, addr sdk.AccAddress, reward sdk.Coins) {
// if reward contains nothing, do nothing
if !reward.IsAllPositive() {
Expand Down