Skip to content

Commit

Permalink
change api/lcd port to 1317
Browse files Browse the repository at this point in the history
  • Loading branch information
baabeetaa committed Oct 28, 2023
1 parent 34d6d10 commit ef9321d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ As data is spreaded over multiple sub-nodes, its required to have a proxy which
#### Supported Protocols
- [Tendermint RPC/JSONRPC](doc/rpc.md) on port 26657
- Tendermint Websocket
- LCD/API on port 1337
- LCD/API on port 1317
- GRPC on port 9090
- [Eth JsonRpc](doc/ethereum-json-rpc.md) on port 8545
- Eth JsonRpc Websocket on port 8546
Expand Down
2 changes: 1 addition & 1 deletion server/api_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (m *ApiServer) StartApiServer() {
serverMux := http.NewServeMux()
serverMux.HandleFunc("/", handler)
go func() {
m.apiServer = &http.Server{Addr: ":1337", Handler: serverMux}
m.apiServer = &http.Server{Addr: ":1317", Handler: serverMux}
log.Fatal(m.apiServer.ListenAndServe())
}()
}
Expand Down
2 changes: 1 addition & 1 deletion test/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func (s *ApiTestSuite) SetupSuite() {
// wait few secs for the server to init
time.Sleep(15 * time.Second)

s.UrlEndpoint = "http://localhost:1337"
s.UrlEndpoint = "http://localhost:1317"
}

func (s *ApiTestSuite) TearDownSuite() {
Expand Down

0 comments on commit ef9321d

Please sign in to comment.