We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c1aa15 commit 15c7c02Copy full SHA for 15c7c02
cronjobs/findblock.php
@@ -28,7 +28,9 @@
28
// Fetch our last block found from the DB as a starting point
29
$aLastBlock = @$block->getLastValid();
30
$strLastBlockHash = $aLastBlock['blockhash'];
31
-if (!$strLastBlockHash) $strLastBlockHash = '';
+if (!$strLastBlockHash) {
32
+ $strLastBlockHash = $bitcoin->getblockhash(1);
33
+}
34
35
// Fetch all transactions since our last block
36
if ( $bitcoin->can_connect() === true ){
0 commit comments