mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/swarm/swarm-smoke: do not fail if a node does not respond to rpc acll
This commit is contained in:
parent
f180981273
commit
d9a6f0989b
1 changed files with 2 additions and 2 deletions
|
|
@ -87,14 +87,14 @@ func trackChunks(testData []byte) error {
|
|||
rpcClient, err := rpc.Dial(httpHost)
|
||||
if err != nil {
|
||||
log.Error("Error dialing host", "err", err)
|
||||
return err
|
||||
continue
|
||||
}
|
||||
|
||||
var hasInfo []api.HasInfo
|
||||
err = rpcClient.Call(&hasInfo, "bzz_has", addrs)
|
||||
if err != nil {
|
||||
log.Error("Error calling host", "err", err)
|
||||
return err
|
||||
continue
|
||||
}
|
||||
|
||||
count := 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue