Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
0Tech committed Mar 28, 2024
1 parent eff543b commit b74b68a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ linters:
- misspell
- maligned
- nakedret
- prealloc
- scopelint
- staticcheck
- structcheck
Expand Down
3 changes: 2 additions & 1 deletion app/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ func (app *FnsaApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedA

// prepare for fresh start at zero height
// NOTE zero height genesis is a temporary feature which will be deprecated
// in favor of export at a block height
//
// in favor of export at a block height
//nolint:gocyclo
func (app *FnsaApp) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddrs []string) {
applyAllowedAddrs := false

Expand Down
2 changes: 1 addition & 1 deletion app/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func NewTestNetworkFixture() network.TestFixture {
// SignAndDeliverWithoutCommit signs and delivers a transaction. No commit
func SignAndDeliverWithoutCommit(t *testing.T, txCfg client.TxConfig, app *bam.BaseApp, msgs []sdk.Msg, fees sdk.Coins, chainID string, accNums, accSeqs []uint64, blockTime time.Time, priv ...cryptotypes.PrivKey) (*abci.ResponseFinalizeBlock, error) {
tx, err := simtestutil.GenSignedMockTx(
rand.New(rand.NewSource(time.Now().UnixNano())),
rand.New(rand.NewSource(time.Now().UnixNano())), //nolint:gosec
txCfg,
msgs,
fees,
Expand Down
6 changes: 3 additions & 3 deletions cmd/fnsad/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ type startArgs struct {
algo string
apiAddress string
chainID string
enableLogging bool
grpcAddress string
minGasPrices string
numValidators int
outputDir string
printMnemonic bool
rpcAddress string
timeoutCommit time.Duration
numValidators int
enableLogging bool
printMnemonic bool
}

func addTestnetFlagsToCmd(cmd *cobra.Command) {
Expand Down

0 comments on commit b74b68a

Please sign in to comment.