Update proportional_payout.php
Abort if no shares could be found for a block to allow user intervention to fix it.
This commit is contained in:
parent
6193604598
commit
5e98496cec
@ -54,7 +54,7 @@ foreach ($aAllBlocks as $iIndex => $aBlock) {
|
|||||||
if (empty($aAccountShares)) {
|
if (empty($aAccountShares)) {
|
||||||
$log->logFatal('No shares found for this block, aborted: ' . $aBlock['height']);
|
$log->logFatal('No shares found for this block, aborted: ' . $aBlock['height']);
|
||||||
sleep(2);
|
sleep(2);
|
||||||
continue;
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Loop through all accounts that have found shares for this round
|
// Loop through all accounts that have found shares for this round
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user