From 5e6d73f423a099a758767c7b1b6fe3de36c2cc23 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Mon, 13 May 2019 05:40:34 -0700 Subject: [PATCH] debugging --- src/rpc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rpc.cpp b/src/rpc.cpp index 918584a..b0935de 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -1063,6 +1063,7 @@ void RPC::refreshZECPrice() { return; } + qDebug() << "No network errors\n"; auto all = reply->readAll(); auto parsed = json::parse(all, nullptr, false); if (parsed.is_discarded()) { @@ -1072,6 +1073,7 @@ void RPC::refreshZECPrice() { const json& item = parsed.get(); if (item["hush"]) { + qDebug() << "Found hush key in price json\n"; // TODO: support BTC/EUR prices as well QString price = QString::fromStdString(item["hush"]["usd"].get()); qDebug() << "HUSH = $" << price;