use daemon target height in progress ui

This commit is contained in:
Jacob Brydolf 2016-11-01 18:15:11 +01:00
parent 80795971fe
commit d12436a1d6
No known key found for this signature in database
GPG Key ID: DE46246550D2F3C5

View File

@ -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