parent
14d0f1f92d
commit
6be18a1cb4
@ -37,6 +37,7 @@ import (
|
|||||||
storetypes "github.com/cosmos/cosmos-sdk/store/types"
|
storetypes "github.com/cosmos/cosmos-sdk/store/types"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||||
|
|
||||||
|
ethlog "github.com/ethereum/go-ethereum/log"
|
||||||
ethrpc "github.com/ethereum/go-ethereum/rpc"
|
ethrpc "github.com/ethereum/go-ethereum/rpc"
|
||||||
|
|
||||||
"github.com/cosmos/ethermint/cmd/ethermintd/config"
|
"github.com/cosmos/ethermint/cmd/ethermintd/config"
|
||||||
@ -236,6 +237,7 @@ func startInProcess(ctx *server.Context, clientCtx client.Context, appCreator ty
|
|||||||
var httpSrvDone = make(chan struct{}, 1)
|
var httpSrvDone = make(chan struct{}, 1)
|
||||||
var wsSrv rpc.WebsocketsServer
|
var wsSrv rpc.WebsocketsServer
|
||||||
|
|
||||||
|
ethlog.Root().SetHandler(ethlog.StdoutHandler)
|
||||||
if config.EVMRPC.Enable {
|
if config.EVMRPC.Enable {
|
||||||
tmEndpoint := "/websocket"
|
tmEndpoint := "/websocket"
|
||||||
tmRPCAddr := cfg.RPC.ListenAddress
|
tmRPCAddr := cfg.RPC.ListenAddress
|
||||||
|
Loading…
Reference in New Issue
Block a user