From d12436a1d6238a8a49d5b1cf7d61ce14bc86b762 Mon Sep 17 00:00:00 2001 From: Jacob Brydolf Date: Tue, 1 Nov 2016 18:15:11 +0100 Subject: [PATCH] use daemon target height in progress ui --- main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.qml b/main.qml index 440b79f4..1adfab8e 100644 --- a/main.qml +++ b/main.qml @@ -282,7 +282,7 @@ ApplicationWindow { splashCounter = currHeight var locale = Qt.locale() var currHeightString = currHeight.toLocaleString(locale,"f",0) - var targetHeightString = currentWallet.daemonBlockChainHeight().toLocaleString(locale,"f",0) + var targetHeightString = currentWallet.daemonBlockChainTargetHeight().toLocaleString(locale,"f",0) var progressText = qsTr("Synchronizing blocks %1 / %2").arg(currHeightString).arg(targetHeightString); console.log("Progress text: " + progressText); splash.heightProgressText = progressText