1
0

base64 encode transactions in qr codes

This commit is contained in:
ThomasV
2015-02-26 12:37:45 +01:00
parent 52b43c57b8
commit 8a495f4071
2 changed files with 4 additions and 1 deletions

View File

@@ -108,7 +108,9 @@ class TxDialog(QDialog):
def show_qr(self):
import base64
text = self.tx.raw.decode('hex')
text = base64.b64encode(text)
try:
self.parent.show_qrcode(text, 'Transaction')
except Exception as e: