Optimize #132
Annotations
10 errors and 4 warnings
x/btcbridge/keeper/keeper_withdraw.go#L70
Error return value of `k.LockUTXOs` is not checked (errcheck)
|
x/btcbridge/keeper/keeper_withdraw.go#L233
Error return value of `k.SpendUTXO` is not checked (errcheck)
|
x/btcbridge/genesis.go#L15
Error return value of `k.SetBlockHeaders` is not checked (errcheck)
|
x/btcbridge/types/keys.go#L50
appendAssign: append result not assigned to the same slice (gocritic)
|
x/gmm/types/pool.go#L85
commentFormatting: put a space between `//` and comment text (gocritic)
|
x/gmm/types/poolI.go#L8
commentFormatting: put a space between `//` and comment text (gocritic)
|
x/gmm/types/pool_weight.go#L32
commentFormatting: put a space between `//` and comment text (gocritic)
|
x/gmm/types/pool_weight.go#L37
commentFormatting: put a space between `//` and comment text (gocritic)
|
x/gmm/types/pool_weight.go#L108
commentFormatting: put a space between `//` and comment text (gocritic)
|
x/btcbridge/keeper/utxo.go#L158
appendAssign: append result not assigned to the same slice (gocritic)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, technote-space/get-diff-action@v6, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
x/btcbridge/types/bitcoin_transaction.go#L134
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
x/btcbridge/client/cli/query.go#L189
context-as-argument: context.Context should be the first parameter of a function (revive)
|
x/btcbridge/client/cli/query.go#L200
context-as-argument: context.Context should be the first parameter of a function (revive)
|
This job failed
Loading