[FIX] Wallet Balance
This commit is contained in:
parent
94dd21b830
commit
c5ff564deb
@ -40,7 +40,7 @@ class BitcoinWrapper extends BitcoinClient {
|
|||||||
public function getrealbalance() {
|
public function getrealbalance() {
|
||||||
$this->oDebug->append("STA " . __METHOD__, 4);
|
$this->oDebug->append("STA " . __METHOD__, 4);
|
||||||
$aAccounts = parent::listaccounts();
|
$aAccounts = parent::listaccounts();
|
||||||
$dBalance = parent::getbalance();
|
$dBalance = parent::getbalance('');
|
||||||
// Account checks
|
// Account checks
|
||||||
if (count($aAccounts) == 1) {
|
if (count($aAccounts) == 1) {
|
||||||
// We only have a single account so getbalance will be fine
|
// We only have a single account so getbalance will be fine
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user