From f06a114fa4ff8e92d7bdf951243915ff66a0f50d Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Sun, 16 Jun 2019 08:10:55 -0700 Subject: [PATCH] This seems to cause a coredump --- src/mainwindow.ui | 22 ++++++++++++++++++++++ src/rpc.cpp | 2 ++ 2 files changed, 24 insertions(+) diff --git a/src/mainwindow.ui b/src/mainwindow.ui index c8a81cd..2fd4f3d 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -1037,6 +1037,28 @@ + + + + KMD Version + + + + + + + Loading... + + + + + + + | + + + + diff --git a/src/rpc.cpp b/src/rpc.cpp index 56401b6..b6dd038 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -560,11 +560,13 @@ void RPC::getInfoThenRefresh(bool force) { int lag = curBlock - notarized; QString ntzhash = QString::fromStdString( reply["notarizedhash"].get() ); QString ntztxid = QString::fromStdString( reply["notarizedtxid"].get() ); + QString kmdver = QString::fromStdString( reply["KMDversion"].get() ); Settings::getInstance()->setZcashdVersion(version); ui->notarizedhashvalue->setText( ntzhash ); ui->notarizedtxidvalue->setText( ntztxid ); ui->lagvalue->setText( QString::number(lag) ); + ui->kmdversion->setText( kmdver ); if ( force || (curBlock != lastBlock) ) { // Something changed, so refresh everything.