fee may be zero (tx details)

This commit is contained in:
thomasv 2013-03-16 13:34:51 +01:00
parent 3d745637a2
commit 1adbef4b25
1 changed files with 1 additions and 1 deletions

View File

@ -512,7 +512,7 @@ class ElectrumWindow(QMainWindow):
vbox.addWidget(QLabel("Date: %s"%time_str))
vbox.addWidget(QLabel("Status: %d confirmations"%conf))
if is_mine:
if fee:
if fee is not None:
vbox.addWidget(QLabel("Amount sent: %s"% format_satoshis(v-fee, False)))
vbox.addWidget(QLabel("Transaction fee: %s"% format_satoshis(fee, False)))
else: