lint: couple more fixes

This commit is contained in:
Zach Ramsay
2017-09-22 09:45:50 -04:00
parent a3ac825490
commit fe426de5d4
2 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ func setOption(client abcicli.Client, key, value string) {
func commit(client abcicli.Client, hashExp []byte) {
res := client.CommitSync()
_, data, log := res.Code, res.Data, res.Log
_, data, _ := res.Code, res.Data, res.Log
if res.IsErr() {
panic(fmt.Sprintf("committing err %v\n", res))
}

View File

@ -1,4 +1,4 @@
package types
package types // nolint: goimports
import (
context "golang.org/x/net/context"