mirror of
https://github.com/kvazar-network/crawler.git
synced 2025-01-08 22:27:56 +00:00
fix getBlockCount validation
This commit is contained in:
parent
a760ab1988
commit
bb67489d5b
@ -140,7 +140,7 @@ if (isset($argv[1]))
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Begin crawler
|
// Begin crawler
|
||||||
if (false === $blocks = $kevacoin->getBlockCount())
|
if (!$blocks = $kevacoin->getBlockCount())
|
||||||
{
|
{
|
||||||
exit(
|
exit(
|
||||||
_('Could not receive blocks count!')
|
_('Could not receive blocks count!')
|
||||||
|
Loading…
Reference in New Issue
Block a user