Browse Source

notarized hash in hushd tab

pull/45/head
Jonathan "Duke" Leto 5 years ago
parent
commit
c1579b5ed9
  1. 9
      src/rpc.cpp

9
src/rpc.cpp

@ -549,11 +549,14 @@ void RPC::getInfoThenRefresh(bool force) {
main->statusIcon->setPixmap(i.pixmap(16, 16));
static int lastBlock = 0;
int curBlock = reply["blocks"].get<json::number_integer_t>();
int version = reply["version"].get<json::number_integer_t>();
int notarized = reply["notarized"].get<json::number_integer_t>();
int curBlock = reply["blocks"].get<json::number_integer_t>();
int version = reply["version"].get<json::number_integer_t>();
int notarized = reply["notarized"].get<json::number_integer_t>();
QString ntzhash = QString::fromStdString( reply["notarizedhash"].get<json::string_t>() );
Settings::getInstance()->setZcashdVersion(version);
ui->notarizedhashvalue->setText( ntzhash );
if ( force || (curBlock != lastBlock) ) {
// Something changed, so refresh everything.
lastBlock = curBlock;

Loading…
Cancel
Save