Skip to content

Commit

Permalink
lint: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hacheigriega committed Feb 15, 2024
1 parent 7ffc991 commit 556006f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x/vesting/simulation/operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ func SimulateMsgClawback(
}
}

// nolint:unused
//nolint:unused
func simulateMsgDelegate(
_ client.TxConfig,
_ types.AccountKeeper,
Expand All @@ -221,7 +221,7 @@ func simulateMsgDelegate(
originalVesting sdk.Coins,
) simtypes.Operation {
return func(
r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string,
r *rand.Rand, _ *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string,

Check warning on line 224 in x/vesting/simulation/operations.go

View workflow job for this annotation

GitHub Actions / golangci

unused-parameter: parameter 'accs' seems to be unused, consider removing or renaming it as _ (revive)
) (simtypes.OperationMsg, []simtypes.FutureOperation, error) {
msgType := sdk.MsgTypeURL(&stakingtypes.MsgDelegate{})
denom, err := sk.BondDenom(ctx)
Expand Down Expand Up @@ -304,7 +304,7 @@ func simulateMsgDelegate(
}
}

// nolint:unused
//nolint:unused
func simulateMsgClawbackFutureOp(
txGen client.TxConfig,
ak types.AccountKeeper,
Expand Down

0 comments on commit 556006f

Please sign in to comment.