cosmos-sdk/x/stake
Dev Ojha 097dd8a164 tools: Add unparam linter (#1443)
* tools: Add unparam linter

unparam detects unused parameters in functions, and a parameter to
a function which only ever takes on one value. The latter is an
indication that more tests are required.

There are many nolints in this PR, as I believe that writing tests
to fix alot of these situations is out of scope for this PR / it
will be changed in future commits. There are some nolints for
when we have to comply to normal api's.

* crypto/keys no longer used by x/gov/client/rest/rest.go
2018-06-29 18:22:24 -04:00
..
client tools: Add unparam linter (#1443) 2018-06-29 18:22:24 -04:00
keeper tools: Add unparam linter (#1443) 2018-06-29 18:22:24 -04:00
tags Merge PR #1119: Unbonding, Redelegation 2018-06-27 04:00:12 +02:00
types tools: Add unparam linter (#1443) 2018-06-29 18:22:24 -04:00
app_test.go Ledger integration (#931) 2018-06-29 02:54:47 +02:00
genesis.go Merge PR #1119: Unbonding, Redelegation 2018-06-27 04:00:12 +02:00
handler.go Ledger integration (#931) 2018-06-29 02:54:47 +02:00
handler_test.go Ledger integration (#931) 2018-06-29 02:54:47 +02:00
stake.go Merge PR #1119: Unbonding, Redelegation 2018-06-27 04:00:12 +02:00