electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 34955bd0f5525c83edbd95fba5ab9a3d6c3ff537
parent b8eea5f56eaf82618efc60c599da36312bd3fbcc
Author: Neil Booth <kyuupichan@gmail.com>
Date:   Sat, 12 Dec 2015 17:52:19 +0900

Show value if available

Diffstat:
Mgui/qt/transaction_dialog.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py @@ -273,7 +273,8 @@ class TxDialog(QDialog): if addr is None: addr = _('unknown') cursor.insertText(addr, text_format(addr)) - cursor.insertText(format_amount(x['value']), ext) + if x.get('value'): + cursor.insertText(format_amount(x['value']), ext) cursor.insertBlock() vbox.addWidget(i_text)