IRISHUB-238: fix test_lint failures in client/lcd/root.go and server/

This commit is contained in:
HaoyangLiu
2018-08-30 16:24:56 +08:00
parent b878edc388
commit 3f83aca599
3 changed files with 13 additions and 13 deletions
+8 -8
View File
@@ -1,16 +1,16 @@
package server
import (
"testing"
"github.com/stretchr/testify/require"
"github.com/cosmos/cosmos-sdk/wire"
"github.com/tendermint/tendermint/libs/log"
tcmd "github.com/tendermint/tendermint/cmd/tendermint/commands"
"os"
"bytes"
"github.com/cosmos/cosmos-sdk/server/mock"
"github.com/cosmos/cosmos-sdk/wire"
"github.com/stretchr/testify/require"
tcmd "github.com/tendermint/tendermint/cmd/tendermint/commands"
"github.com/tendermint/tendermint/libs/log"
"io"
"github.com/cosmos/cosmos-sdk/server/mock"
)
"os"
"testing"
)
func TestEmptyState(t *testing.T) {
defer setupViper(t)()
+1 -1
View File
@@ -129,7 +129,7 @@ func AppGenStateEmpty(_ *wire.Codec, _ []json.RawMessage) (appState json.RawMess
// Return a validator, not much else
func AppGenTx(_ *wire.Codec, pk crypto.PubKey, genTxConfig gc.GenTx) (
appGenTx, cliPrint json.RawMessage, validator tmtypes.GenesisValidator, err error) {
appGenTx, cliPrint json.RawMessage, validator tmtypes.GenesisValidator, err error) {
validator = tmtypes.GenesisValidator{
PubKey: pk,