feat: add rebalance. #1568
Annotations
6 errors
lint:
x/liquidstakeibc/keeper/rebalance.go#L139
ifElseChain: rewrite if-else to switch statement (gocritic)
|
lint:
x/liquidstakeibc/keeper/abci.go#L378
File is not `gofmt`-ed with `-s` (gofmt)
|
lint:
x/liquidstakeibc/keeper/rebalance.go#L67
File is not `gofmt`-ed with `-s` (gofmt)
|
lint:
x/liquidstakeibc/keeper/rebalance.go#L137
exported method SortDelegationListAsc returns unexported type []github.com/persistenceOne/pstake-native/v2/x/liquidstakeibc/keeper.delegation, which can be annoying to use (golint)
|
lint:
x/liquidstakeibc/keeper/rebalance.go#L146
`if` block ends with a `return` statement, so drop this `else` and outdent its block (golint)
|
lint
issues found
|