Skip to content

Commit

Permalink
fix(tests): use 127.0.0.1 as an address for testing (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
thehowl authored Mar 3, 2023
1 parent 74f5f26 commit af1272c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/bft/rpc/test/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func createConfig() *cfg.Config {
c := cfg.ResetTestRoot(pathname)

// and we use random ports to run in parallel
c.P2P.ListenAddress = "tcp://127.0.0.2:0"
c.RPC.ListenAddress = "tcp://127.0.0.2:0"
c.P2P.ListenAddress = "tcp://127.0.0.1:0"
c.RPC.ListenAddress = "tcp://127.0.0.1:0"
c.RPC.CORSAllowedOrigins = []string{"https://tendermint.com/"}
// c.TxIndex.IndexTags = "app.creator,tx.height" // see kvstore application
return c
Expand Down

0 comments on commit af1272c

Please sign in to comment.