Update golangci-lint config and fix linting issues (#168)

* update golangci

* update golang lint yml and updated linting issues
This commit is contained in:
Austin Abell
2020-01-08 09:56:49 +13:00
committed by GitHub
parent b98685c46b
commit 51adade59f
11 changed files with 56 additions and 255 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ func (c *count) get() int {
}
func (c *count) increment() {
*c = *c + 1
*c++
}
func (c *count) reset() {
+1 -1
View File
@@ -66,7 +66,7 @@ type QueryETHLogs struct {
}
func (q QueryETHLogs) String() string {
return string(fmt.Sprintf("%+v", q.Logs))
return fmt.Sprintf("%+v", q.Logs)
}
// QueryBloomFilter is response type for tx logs query