fixes
This commit is contained in:
parent
5e7babfa76
commit
df84276b3c
@ -70,7 +70,7 @@ class RPCErrorException extends \Exception
|
|||||||
case 'PEER_FLOOD': $message = 'Too many requests'; break;
|
case 'PEER_FLOOD': $message = 'Too many requests'; break;
|
||||||
}
|
}
|
||||||
if ($this->rpc === $message) {
|
if ($this->rpc === $message) {
|
||||||
$res = json_decode(file_get_contents('https://rpc.pwrtelegram.xyz/?description_for='.$this->rpc));
|
$res = json_decode(file_get_contents('https://rpc.pwrtelegram.xyz/?description_for='.$this->rpc), true);
|
||||||
if ($res['ok']) {
|
if ($res['ok']) {
|
||||||
$message = $res['result'];
|
$message = $res['result'];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user