Update liquid_payout.php
formatting
This commit is contained in:
parent
be77b05b12
commit
75f35d80b1
@ -14,14 +14,15 @@ $log->logDebug("The Wallet Balance is " .$dBalance. "\n");
|
|||||||
$dGetInfo = $bitcoin->getinfo();
|
$dGetInfo = $bitcoin->getinfo();
|
||||||
|
|
||||||
// Check for POS Mint
|
// Check for POS Mint
|
||||||
|
|
||||||
if (is_array($dGetInfo) && array_key_exists('newmint', $dGetInfo)) {
|
if (is_array($dGetInfo) && array_key_exists('newmint', $dGetInfo)) {
|
||||||
$dNewmint = $dGetInfo['newmint'];
|
$dNewmint = $dGetInfo['newmint'];
|
||||||
|
|
||||||
$log->logDebug("Current Mint is: " .$dNewmint);
|
$log->logDebug("Current Mint is: " .$dNewmint);
|
||||||
} else {
|
} else {
|
||||||
$dNewmint = -1;
|
$dNewmint = -1;
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
$dBalance = 0;
|
$dBalance = 0;
|
||||||
$dNewmint = -1;
|
$dNewmint = -1;
|
||||||
$log->logError('Unable to connect to wallet RPC service');
|
$log->logError('Unable to connect to wallet RPC service');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user