From 83f8438a9c5bf0bbc6bfa28a5aac2a9846fb8e91 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Mon, 8 Jul 2013 08:49:55 +0200 Subject: [PATCH] last cleanup before merge --- cronjobs/pps_payout.php | 2 +- cronjobs/proportional_payout.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cronjobs/pps_payout.php b/cronjobs/pps_payout.php index 388f49ac..ee35e2ad 100755 --- a/cronjobs/pps_payout.php +++ b/cronjobs/pps_payout.php @@ -131,7 +131,7 @@ foreach ($aAllBlocks as $iIndex => $aBlock) { } // Mark this block as accounted for if (!$block->setAccounted($aBlock['id'])) { - verbose("\nERROR : Failed to mark block as accounted! Aborting!\n"); + $log->logFatal("Failed to mark block as accounted! Aborting!"); exit(1); } } diff --git a/cronjobs/proportional_payout.php b/cronjobs/proportional_payout.php index d7ab7e95..8a7dd2cd 100755 --- a/cronjobs/proportional_payout.php +++ b/cronjobs/proportional_payout.php @@ -53,7 +53,6 @@ foreach ($aAllBlocks as $iIndex => $aBlock) { if (empty($aAccountShares)) { $log->logFatal('No shares found for this block, aborted: ' . $aBlock['height']); - sleep(2); exit(1); }