Problem: newPendingTransactions filter don't return ethereum tx hash (#900)

This commit is contained in:
yihuang
2022-01-13 13:12:57 +00:00
committed by GitHub
parent cad7545f8a
commit aeb6aeb715
4 changed files with 20 additions and 8 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ func StartJSONRPC(ctx *server.Context, clientCtx client.Context, tmRPCAddr, tmEn
// allocate separate WS connection to Tendermint
tmWsClient = ConnectTmWS(tmRPCAddr, tmEndpoint, ctx.Logger)
wsSrv := rpc.NewWebsocketsServer(ctx.Logger, tmWsClient, config)
wsSrv := rpc.NewWebsocketsServer(clientCtx, ctx.Logger, tmWsClient, config)
wsSrv.Start()
return httpSrv, httpSrvDone, nil
}