mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +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
|
// has-chunks
|
||||||
for _, host := range hosts {
|
for _, host := range hosts {
|
||||||
//httpHost := fmt.Sprintf("http://%s:%d", host, 8545)
|
httpHost := fmt.Sprintf("ws://%s:%d", host, 8546)
|
||||||
httpHost := host
|
|
||||||
rpcClient, err := rpc.Dial(httpHost)
|
rpcClient, err := rpc.Dial(httpHost)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue