Skip to content

Commit

Permalink
Update bitcoinwrapper.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
iAmShorty committed Feb 14, 2014
1 parent 6f1f56a commit 691e1e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/include/classes/bitcoinwrapper.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public function getrealbalance() {
} else {
$dMainBalance = $aAccounts[''];
$dUnconfirmed = $dMainBalance - $dBalance;
return $dMainBalance - $dUnconfirmed;
//return $dMainBalance - $dUnconfirmed;
return $dMainBalance - abs($dUnconfirmed)
}
}
public function getdifficulty() {
Expand Down

0 comments on commit 691e1e6

Please sign in to comment.