Skip to content

Commit

Permalink
[UPDATE] Removed Wallet Info Message
Browse files Browse the repository at this point in the history
  • Loading branch information
iAmShorty committed Feb 12, 2014
1 parent 3b53a3b commit 37581d7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions public/include/admin_checks.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,10 @@
$error[] = "There are " . count($accounts) . " Accounts set in local Wallet. Please ensure that there is enough Balance on the Default Account to avoid issues with payouts done with sendtoaddress or sendmany!!!";
}
foreach ($accounts as $account => $balance) {
if ($account == "") { $account = "Default"; }
if ($balance <= 0) {
$error[] = "Account: <u>" . $account . "</u> has liquid funds to pay your miners but it will not be used!";
} else {
$enotice[] = "Account: <u>" . $account . "</u> has liquid funds to pay your miners! - " . $balance . " " . $config['currency'];
}
if ($account == "" && $balance <= 0) {
$error[] = "Default Account has no liquid funds to pay your miners!";
}
}

}
} catch (Exception $e) {
}
Expand Down

0 comments on commit 37581d7

Please sign in to comment.