This commit is contained in:
jl777
2019-03-27 02:18:33 -11:00
parent 3da222eae8
commit 86491b25f0

View File

@@ -157,7 +157,7 @@ uint64_t get_btcusd()
mult = 10000 + Net_change*10;
newprice = (btcusd * mult) / 10000;
x = ((uint64_t)time(NULL) << 32) | ((newprice / 10000) & 0xffffffff);
printf("BTC/USD %.4f Net_change %lld * 0.001 -> %.4f\n",dstr(btcusd),(long long)Net_change,dstr(newprice));
fprintf(stderr,"BTC/USD %.4f Net_change %lld * 0.001 -> %.4f\n",dstr(btcusd),(long long)Net_change,dstr(newprice));
}
free_json(pjson);
}