Browse Source

all: gofmt

Run 'gofmt -w .' from project root.
pull/1743/head
ia 7 years ago
parent
commit
b6c8bfc8e8
7 changed files with 7 additions and 7 deletions
  1. +1
    -1
      consensus/state_test.go
  2. +1
    -1
      rpc/client/httpclient.go
  3. +1
    -1
      rpc/client/localclient.go
  4. +1
    -1
      state/txindex/indexer.go
  5. +1
    -1
      state/txindex/null/null.go
  6. +1
    -1
      types/event_bus.go
  7. +1
    -1
      types/event_bus_test.go

+ 1
- 1
consensus/state_test.go View File

@ -8,10 +8,10 @@ import (
"time"
cstypes "github.com/tendermint/tendermint/consensus/types"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
"github.com/tendermint/tendermint/types"
cmn "github.com/tendermint/tmlibs/common"
"github.com/tendermint/tmlibs/log"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
)
func init() {


+ 1
- 1
rpc/client/httpclient.go View File

@ -7,11 +7,11 @@ import (
"github.com/pkg/errors"
amino "github.com/tendermint/go-amino"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
ctypes "github.com/tendermint/tendermint/rpc/core/types"
rpcclient "github.com/tendermint/tendermint/rpc/lib/client"
"github.com/tendermint/tendermint/types"
cmn "github.com/tendermint/tmlibs/common"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
)
/*


+ 1
- 1
rpc/client/localclient.go View File

@ -3,12 +3,12 @@ package client
import (
"context"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
nm "github.com/tendermint/tendermint/node"
"github.com/tendermint/tendermint/rpc/core"
ctypes "github.com/tendermint/tendermint/rpc/core/types"
"github.com/tendermint/tendermint/types"
cmn "github.com/tendermint/tmlibs/common"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
)
/*


+ 1
- 1
state/txindex/indexer.go View File

@ -3,8 +3,8 @@ package txindex
import (
"errors"
"github.com/tendermint/tendermint/types"
"github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/types"
)
// TxIndexer interface defines methods to index and search transactions.


+ 1
- 1
state/txindex/null/null.go View File

@ -3,9 +3,9 @@ package null
import (
"errors"
"github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/state/txindex"
"github.com/tendermint/tendermint/types"
"github.com/tendermint/tendermint/libs/pubsub/query"
)
var _ txindex.TxIndexer = (*TxIndex)(nil)


+ 1
- 1
types/event_bus.go View File

@ -4,9 +4,9 @@ import (
"context"
"fmt"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
cmn "github.com/tendermint/tmlibs/common"
"github.com/tendermint/tmlibs/log"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
)
const defaultCapacity = 1000


+ 1
- 1
types/event_bus_test.go View File

@ -11,9 +11,9 @@ import (
"github.com/stretchr/testify/require"
abci "github.com/tendermint/abci/types"
cmn "github.com/tendermint/tmlibs/common"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
tmquery "github.com/tendermint/tendermint/libs/pubsub/query"
cmn "github.com/tendermint/tmlibs/common"
)
func TestEventBusPublishEventTx(t *testing.T) {


Loading…
Cancel
Save