Open Aviator-Coding opened 5 years ago
Issue has to do with the UTX not getting removed as spend:
const results_q = UTXO.aggregate([
{ $group: { _id: 'supply', total: { $sum: '$value' } } }
]);
Returns:
./cron/coin.js
{ USD_Price: 0.0028884438009153,
USD_Cap: 974827.7152671365,
Suppply: 337492360.0584611,
BTC_Price: '0.00000081',
BTC_Volume: 273.3688116473535 }
Actual Supply from wallet:
"moneysupply" : 17188556.17122944,
Expected Behavior
Get the Accurate Market Reading:
Actual Behavior
Steps to Reproduce the Problem
1.Run Current Master Branch