fix getBlockCount validation

This commit is contained in:
ghost 2024-03-04 11:20:13 +02:00
parent a760ab1988
commit bb67489d5b

View File

@ -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!')