Skip to content

Commit

Permalink
Merge #55: [GUI] Update total available budget
Browse files Browse the repository at this point in the history
d447b84 [GUI] Update total available budget (Fuzzbawls)

Pull request description:

  Update the total available budget to reflect the new block reward structure.

ACKs for top commit:
  Liquid369:
    tACK d447b84

Tree-SHA512: 705ac286530934309ed17d87979e7910c5d01ab859b3fd5b40cffde4e77f092360c873becd23af4c6cc77d14799d2debeea91443fcf9f3dc817fb3258c82331e
  • Loading branch information
Fuzzbawls committed Apr 5, 2024
2 parents a174531 + d447b84 commit 44f8e25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qt/dlg_budgetProjection.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def displayBudgetProjection(self):
total = self.projection[-1].get('Total_Allotted')
total_label = "<em style='color: purple'>%s PIV</em>" % str(total)
self.ui.allottedBudget_label.setText(total_label)
self.ui.remainingBudget_label.setText("%s PIV" % str(round(43200.0 - total, 8)))
self.ui.remainingBudget_label.setText("%s PIV" % str(round(432000.0 - total, 8)))
self.ui.passingProposals_label.setText("<b style='color: purple'>%s</b>" % str(len(self.projection)))

def item(value):
Expand Down Expand Up @@ -82,7 +82,7 @@ def setupUi(self, BudgetProjectionDlg):
header_layout.setFieldGrowthPolicy(QFormLayout.AllNonFixedFieldsGrow)
# row 1
row = QHBoxLayout()
self.availableBudget_label = QLabel("43200.0 PIV")
self.availableBudget_label = QLabel("432000.0 PIV")
row.addWidget(self.availableBudget_label)
row.addStretch(1)
row.addWidget(QLabel("Next SuperBlock: "))
Expand Down

0 comments on commit 44f8e25

Please sign in to comment.