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