Update wss endpoints

pull/1564/head
john-harmony 5 years ago
parent 211438923f
commit a957054580
  1. 2
      internal/configs/sharding/mainnet.go
  2. 2
      internal/configs/sharding/pangaea.go
  3. 2
      internal/configs/sharding/testnet.go

@ -36,7 +36,7 @@ const (
// MainNetHTTPPattern is the http pattern for mainnet.
MainNetHTTPPattern = "https://api.s%d.t.hmny.io"
// MainNetWSPattern is the websocket pattern for mainnet.
MainNetWSPattern = "wss://api.s%d.t.hmny.io"
MainNetWSPattern = "wss://ws.s%d.t.hmny.io"
)
// MainnetSchedule is the mainnet sharding configuration schedule.

@ -14,7 +14,7 @@ const (
// PangaeaHTTPPattern is the http pattern for pangaea.
PangaeaHTTPPattern = "https://api.s%d.pga.hmny.io"
// PangaeaWSPattern is the websocket pattern for pangaea.
PangaeaWSPattern = "wss://api.s%d.pga.hmny.io"
PangaeaWSPattern = "wss://ws.s%d.pga.hmny.io"
// transaction throttling disabled on pangaea network
pangaeaEnableTxnThrottling = false
)

@ -33,7 +33,7 @@ const (
// TestNetHTTPPattern is the http pattern for testnet.
TestNetHTTPPattern = "https://api.s%d.b.hmny.io"
// TestNetWSPattern is the websocket pattern for testnet.
TestNetWSPattern = "wss://api.s%d.b.hmny.io"
TestNetWSPattern = "wss://ws.s%d.b.hmny.io"
)
func (testnetSchedule) InstanceForEpoch(epoch *big.Int) Instance {

Loading…
Cancel
Save