This commit is contained in:
jl777
2018-07-25 10:22:45 -11:00
parent 312424d66d
commit f8bcad38ed

View File

@@ -97,7 +97,7 @@ bool SetAssetFillamounts(int32_t sellflag,uint64_t &received_nValue,uint64_t &re
}
else
{
dprice = (double)orig_nValue / totalunits;
dprice = (double)(orig_nValue * COIN) / totalunits;
received_nValue = (paidunits * dprice);
fprintf(stderr,"dprice %.8f orig %llu/total %llu, recv %llu\n",dprice,(long long)orig_nValue,(long long)totalunits,(long long)received_nValue);
}