Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADDED] getrealbalance wrapper for payouts #1757

Merged
merged 4 commits into from
Feb 16, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update bitcoinwrapper.class.php
  • Loading branch information
iAmShorty committed Feb 14, 2014
commit 691e1e60cb65d00e9ecb663510eb177c14fd3109
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