mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
cmd/swarm/swarm-smoke: ws not rpc
This commit is contained in:
parent
b906f7ab33
commit
d7429b1361
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue