use tmlibs

This commit is contained in:
Ethan Buchman 2017-04-21 17:51:11 -04:00
parent 2c8df0ee6b
commit 15d5b2ac49
4 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ import (
"github.com/gorilla/websocket" "github.com/gorilla/websocket"
"github.com/pkg/errors" "github.com/pkg/errors"
cmn "github.com/tendermint/go-common" cmn "github.com/tendermint/tmlibs/common"
types "github.com/tendermint/go-rpc/types" types "github.com/tendermint/go-rpc/types"
wire "github.com/tendermint/go-wire" wire "github.com/tendermint/go-wire"
) )

View File

@ -14,10 +14,10 @@ import (
"github.com/gorilla/websocket" "github.com/gorilla/websocket"
"github.com/pkg/errors" "github.com/pkg/errors"
cmn "github.com/tendermint/go-common"
events "github.com/tendermint/go-events"
types "github.com/tendermint/go-rpc/types" types "github.com/tendermint/go-rpc/types"
wire "github.com/tendermint/go-wire" wire "github.com/tendermint/go-wire"
cmn "github.com/tendermint/tmlibs/common"
events "github.com/tendermint/tmlibs/events"
) )
// Adds a route for each function in the funcMap, as well as general jsonrpc and websocket handlers for all functions. // Adds a route for each function in the funcMap, as well as general jsonrpc and websocket handlers for all functions.

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"net/http" "net/http"
cmn "github.com/tendermint/go-common" cmn "github.com/tendermint/tmlibs/common"
rpcserver "github.com/tendermint/go-rpc/server" rpcserver "github.com/tendermint/go-rpc/server"
) )

View File

@ -4,8 +4,8 @@ import (
"encoding/json" "encoding/json"
"strings" "strings"
events "github.com/tendermint/go-events"
wire "github.com/tendermint/go-wire" wire "github.com/tendermint/go-wire"
events "github.com/tendermint/tmlibs/events"
) )
type RPCRequest struct { type RPCRequest struct {