Skip to content

Commit

Permalink
Merge PIVX-Project#1396: [GUI] Topbar MNs sync phase status.
Browse files Browse the repository at this point in the history
70e009f [GUI] Improving topbar MNs sync status text. (furszy)

Pull request description:

  Straightforward change, adding the masternodes sync phase status to the topbar sync text.

ACKs for top commit:
  random-zebra:
    utACK 70e009f
  Fuzzbawls:
    utACK 70e009f

Tree-SHA512: 1b79d645ae74e3bcffea990f9a7d32c31ec1bb755f1844720717fd5e1bf0418da85f4585ec9a67b73a7debdfb1896cf8163d1eceffca30d110ccb5ff452ba530
  • Loading branch information
random-zebra authored and akshaynexus committed Mar 15, 2020
1 parent 8567895 commit d65b74f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/masternode-sync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ std::string CMasternodeSync::GetSyncStatus()
{
switch (masternodeSync.RequestedMasternodeAssets) {
case MASTERNODE_SYNC_INITIAL:
return _("Synchronization pending...");
return _("MNs synchronization pending...");
case MASTERNODE_SYNC_SPORKS:
return _("Synchronizing sporks...");
case MASTERNODE_SYNC_LIST:
Expand Down
2 changes: 1 addition & 1 deletion src/qt/pivx/topbar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ void TopBar::setNumBlocks(int count) {
int progress = nAttempt + (masternodeSync.RequestedMasternodeAssets - 1) * MASTERNODE_SYNC_THRESHOLD;
if(progress >= 0){
// todo: MN progress..
text = strprintf("Synchronizing masternodes data... - Block: %d", count);
text = strprintf("%s - Block: %d", masternodeSync.GetSyncStatus(), count);
//progressBar->setMaximum(4 * MASTERNODE_SYNC_THRESHOLD);
//progressBar->setValue(progress);
needState = false;
Expand Down

0 comments on commit d65b74f

Please sign in to comment.