mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-29 12:41:44 +00:00
lint: couple more fixes
This commit is contained in:
@ -57,7 +57,7 @@ func setOption(client abcicli.Client, key, value string) {
|
|||||||
|
|
||||||
func commit(client abcicli.Client, hashExp []byte) {
|
func commit(client abcicli.Client, hashExp []byte) {
|
||||||
res := client.CommitSync()
|
res := client.CommitSync()
|
||||||
_, data, log := res.Code, res.Data, res.Log
|
_, data, _ := res.Code, res.Data, res.Log
|
||||||
if res.IsErr() {
|
if res.IsErr() {
|
||||||
panic(fmt.Sprintf("committing err %v\n", res))
|
panic(fmt.Sprintf("committing err %v\n", res))
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package types
|
package types // nolint: goimports
|
||||||
|
|
||||||
import (
|
import (
|
||||||
context "golang.org/x/net/context"
|
context "golang.org/x/net/context"
|
||||||
|
Reference in New Issue
Block a user