electrum

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

commit 4a97aa1d1e629b279400f3d3661b413ed7220f50
parent b6d541ef8e181265f1c2c22d80ed16bf6e9165b6
Author: ThomasV <thomasv@gitorious>
Date:   Sun,  2 Mar 2014 18:11:56 +0100

show txids in the list of transaction inputs

Diffstat:
Mgui/qt/transaction_dialog.py | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py @@ -181,16 +181,15 @@ class TxDialog(QDialog): def add_io(self, vbox): vbox.addWidget(QLabel(_("Inputs"))) - lines = map(lambda x: x.get('address') , self.tx.inputs ) - - i_text = QTextEdit('\n'.join(lines)) + lines = map(lambda x: x.get('prevout_hash') + ":%d"%x.get('prevout_n') + u'\t' + "%s"%x.get('address') , self.tx.inputs ) + i_text = QTextEdit() + i_text.setText('\n'.join(lines)) i_text.setReadOnly(True) i_text.setMaximumHeight(100) vbox.addWidget(i_text) vbox.addWidget(QLabel(_("Outputs"))) lines = map(lambda x: x[0] + u'\t\t' + self.parent.format_amount(x[1]), self.tx.outputs) - o_text = QTextEdit() o_text.setText('\n'.join(lines)) o_text.setReadOnly(True)