cmd/swarm/swarm-smoke: ws not rpc

This commit is contained in:
Fabio Barone 2019-02-13 20:18:44 -05:00
parent b906f7ab33
commit d7429b1361

View file

@ -75,8 +75,7 @@ func triggerChunkDebug(testData []byte) error {
// has-chunks
for _, host := range hosts {
//httpHost := fmt.Sprintf("http://%s:%d", host, 8545)
httpHost := host
httpHost := fmt.Sprintf("ws://%s:%d", host, 8546)
rpcClient, err := rpc.Dial(httpHost)
if err != nil {
return err