Merge pull request #1804 from iAmShorty/getbalance-fix
[FIX] Wallet Balance
This commit is contained in:
commit
cb3768f5e2
@ -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