|
@@ -167,7 +167,7 @@ discard block |
|
|
block discarded – undo |
|
167
|
167
|
|
|
168
|
168
|
|
|
169
|
169
|
if ($rel) { |
|
170
|
|
- $url = ($rel ? $this->getDiscoveredNodes()[0] : '') . $url; |
|
|
170
|
+ $url = ($rel ? $this->getDiscoveredNodes()[0] : '').$url; |
|
171
|
171
|
} |
|
172
|
172
|
|
|
173
|
173
|
return $client->$method($url, $payload); |
|
@@ -200,7 +200,7 @@ discard block |
|
|
block discarded – undo |
|
200
|
200
|
|
|
201
|
201
|
$limit = (int) $this->config()->get('discover_node_count') ?: 1; |
|
202
|
202
|
$chainpointUrls = $this->config()->get('chainpoint_urls'); |
|
203
|
|
- $url = $chainpointUrls[rand(0,2)]; |
|
|
203
|
+ $url = $chainpointUrls[rand(0, 2)]; |
|
204
|
204
|
$response = $this->client($url, 'GET', [], false); |
|
205
|
205
|
|
|
206
|
206
|
if ($response->getStatusCode() !== 200) { |
Please login to merge, or discard this patch.