mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
fix another implicit float cast
This commit is contained in:
parent
1e9589c19e
commit
45ab8145a4
1 changed files with 2 additions and 2 deletions
|
@ -884,10 +884,10 @@ QJsonObject DomainServer::jsonObjectForNode(const SharedNodePointer& node) {
|
|||
|
||||
if (!nodeData->getWalletUUID().isNull()) {
|
||||
TransactionHash::iterator i = _pendingAssignmentCredits.find(nodeData->getWalletUUID());
|
||||
double pendingCreditAmount = 0;
|
||||
float pendingCreditAmount = 0;
|
||||
|
||||
while (i != _pendingAssignmentCredits.end() && i.key() == nodeData->getWalletUUID()) {
|
||||
pendingCreditAmount += i.value()->getAmount() / SATOSHIS_PER_CREDIT;
|
||||
pendingCreditAmount += i.value()->getAmount() / (float) SATOSHIS_PER_CREDIT;
|
||||
++i;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue