|
@@ -132,7 +132,7 @@ discard block |
|
|
block discarded – undo |
|
132
|
132
|
} |
|
133
|
133
|
|
|
134
|
134
|
if ($rel) { |
|
135
|
|
- $url = ($rel ? $this->getDiscoveredNodes()[0] : '') . $url; |
|
|
135
|
+ $url = ($rel ? $this->getDiscoveredNodes()[0] : '').$url; |
|
136
|
136
|
} |
|
137
|
137
|
|
|
138
|
138
|
return $client->$method($url, $payload); |
|
@@ -165,7 +165,7 @@ discard block |
|
|
block discarded – undo |
|
165
|
165
|
|
|
166
|
166
|
$limit = (int) $this->config()->get('discover_node_count') ?: 1; |
|
167
|
167
|
$chainpointUrls = $this->config()->get('chainpoint_urls'); |
|
168
|
|
- $url = $chainpointUrls[rand(0,2)]; |
|
|
168
|
+ $url = $chainpointUrls[rand(0, 2)]; |
|
169
|
169
|
$response = $this->client($url, 'GET', [], false); |
|
170
|
170
|
|
|
171
|
171
|
if ($response->getStatusCode() !== 200) { |
Please login to merge, or discard this patch.