chore(*): fix golangci lint config #116
Annotations
10 errors
Run Lint:
stakerdb/trackedtranactionstore.go#L1244
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Run Lint:
stakerdb/trackedtranactionstore.go#L733
unslice: could simplify txHashBytes[:] to txHashBytes (gocritic)
|
Run Lint:
stakerdb/trackedtranactionstore.go#L784
unslice: could simplify txHashBytes[:] to txHashBytes (gocritic)
|
Run Lint:
stakercfg/babylon.go#L28
commentFormatting: put a space between `//` and comment text (gocritic)
|
Run Lint:
staker/stakerapp.go#L701
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Run Lint:
staker/stakercontroller.go#L19
captLocal: `BabylonClient' should not be capitalized (gocritic)
|
Run Lint:
staker/types.go#L223
assignOp: replace `spendTx.TxOut[0].Value = spendTx.TxOut[0].Value - int64(fee)` with `spendTx.TxOut[0].Value -= int64(fee)` (gocritic)
|
Run Lint:
staker/types.go#L245
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Run Lint:
stakerservice/service.go#L198
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Run Lint:
stakerservice/service.go#L212
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Loading