[UPDATE] changed error message
This commit is contained in:
parent
4096109788
commit
eb06bd1b7e
@ -80,7 +80,7 @@ if (@$_SESSION['USERDATA']['is_admin'] && $user->isAdmin(@$_SESSION['USERDATA'][
|
|||||||
// check if there is more than one account set on wallet
|
// check if there is more than one account set on wallet
|
||||||
$accounts = $bitcoin->listaccounts();
|
$accounts = $bitcoin->listaccounts();
|
||||||
if (count($accounts) > 1) {
|
if (count($accounts) > 1) {
|
||||||
$error[] = "There are " . count($accounts) . " Accounts set in local Wallet. Please ensure that there is enough Balance on the Default Account to pay your miners!";
|
$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) {
|
foreach ($accounts as $account => $balance) {
|
||||||
if ($account == "") { $account = "Default"; }
|
if ($account == "") { $account = "Default"; }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user