Merge pull request #1804 from iAmShorty/getbalance-fix

[FIX] Wallet Balance
This commit is contained in:
iAmShorty 2014-02-20 21:10:43 +01:00
commit cb3768f5e2

View File

@ -40,7 +40,7 @@ class BitcoinWrapper extends BitcoinClient {
public function getrealbalance() {
$this->oDebug->append("STA " . __METHOD__, 4);
$aAccounts = parent::listaccounts();
$dBalance = parent::getbalance();
$dBalance = parent::getbalance('');
// Account checks
if (count($aAccounts) == 1) {
// We only have a single account so getbalance will be fine