fix domain-server pending credits to actually be in credits

This commit is contained in:
Stephen Birarda 2014-05-23 15:43:02 -07:00
parent 34eb0f9f43
commit 15a8272286

View file

@ -887,7 +887,7 @@ QJsonObject DomainServer::jsonObjectForNode(const SharedNodePointer& node) {
double pendingCreditAmount = 0;
while (i != _pendingAssignmentCredits.end() && i.key() == nodeData->getWalletUUID()) {
pendingCreditAmount += i.value()->getAmount();
pendingCreditAmount += i.value()->getAmount() * powf(10.0f, -8.0f);
++i;
}