Skip to content

Commit e361ac5

Browse files
committed
round total to 8 decimals in sweepAll dialog
1 parent 9503093 commit e361ac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/dlg_sweepAll.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def item(value):
6868
self.ui.tableW.horizontalHeader().setSectionResizeMode(1, QHeaderView.Stretch)
6969

7070
total = sum([float(mnode['total_rewards']) for mnode in self.rewards])
71-
self.ui.totalLine.setText("<b>%s</b>" % str(total))
71+
self.ui.totalLine.setText("<b>%s</b>" % str(round(total,8)))
7272

7373
# update fee
7474
estimatedTxSize = (44+numOfInputs*148)*1.0 / 1000 # kB

0 commit comments

Comments
 (0)