Align USD prices properly

This commit is contained in:
Aditya Kulkarni
2018-10-18 14:55:15 -07:00
parent 02432338cd
commit b88bf6b288
10 changed files with 170 additions and 69 deletions

View File

@@ -42,10 +42,10 @@ RPC::RPC(QNetworkAccessManager* client, MainWindow* main) {
// Set up timer to refresh Price
priceTimer = new QTimer(main);
QObject::connect(timer, &QTimer::timeout, [=]() {
QObject::connect(priceTimer, &QTimer::timeout, [=]() {
refreshZECPrice();
});
priceTimer->start(60 * 60 * 60 * 1000); // Every hour
priceTimer->start(60 * 60 * 1000); // Every hour
}
RPC::~RPC() {