ttx dialog: don't use tx.raw - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit cc526a8734da350769aa41fc7e607161a33c539e
DIR parent 779245dafd2cef8e0585a6cf145431eb3c7fce93
HTML Author: ThomasV <thomasv@electrum.org>
Date: Fri, 12 Feb 2016 15:20:34 +0100
ttx dialog: don't use tx.raw
Diffstat:
M gui/qt/transaction_dialog.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py
t@@ -132,7 +132,7 @@ class TxDialog(QDialog, MessageBoxMixin):
dialogs.remove(self)
def show_qr(self):
- text = self.tx.raw.decode('hex')
+ text = str(self.tx).decode('hex')
text = base_encode(text, base=43)
try:
self.main_window.show_qrcode(text, 'Transaction', parent=self)