mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
fix domain-server pending credits to actually be in credits
This commit is contained in:
parent
34eb0f9f43
commit
15a8272286
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue