From 37581d720cd569409145837ee43d43b9e99b1f55 Mon Sep 17 00:00:00 2001 From: iAmShorty Date: Wed, 12 Feb 2014 14:47:28 +0100 Subject: [PATCH] [UPDATE] Removed Wallet Info Message --- public/include/admin_checks.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/public/include/admin_checks.php b/public/include/admin_checks.php index 5f72041a..e78ec1c6 100644 --- a/public/include/admin_checks.php +++ b/public/include/admin_checks.php @@ -83,14 +83,10 @@ if (@$_SESSION['USERDATA']['is_admin'] && $user->isAdmin(@$_SESSION['USERDATA'][ $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: " . $account . " has liquid funds to pay your miners but it will not be used!"; - } else { - $enotice[] = "Account: " . $account . " 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) { }