Updated findblock cron to use block->getLastValid
This commit is contained in:
parent
7dce981901
commit
338154b1ee
@ -26,7 +26,7 @@ chdir(dirname(__FILE__));
|
|||||||
require_once('shared.inc.php');
|
require_once('shared.inc.php');
|
||||||
|
|
||||||
// Fetch our last block found from the DB as a starting point
|
// Fetch our last block found from the DB as a starting point
|
||||||
$aLastBlock = @$block->getLast();
|
$aLastBlock = @$block->getLastValid();
|
||||||
$strLastBlockHash = $aLastBlock['blockhash'];
|
$strLastBlockHash = $aLastBlock['blockhash'];
|
||||||
if (!$strLastBlockHash) $strLastBlockHash = '';
|
if (!$strLastBlockHash) $strLastBlockHash = '';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user