1
0
This commit is contained in:
SomberNight
2018-07-21 23:09:46 +02:00
parent f8e13c5c33
commit 4284f4feb3
5 changed files with 33 additions and 9 deletions

View File

@@ -179,6 +179,7 @@ class TxDialog(Factory.Popup):
def show_qr(self):
from electrum.bitcoin import base_encode, bfh
text = bfh(str(self.tx))
raw_tx = str(self.tx)
text = bfh(raw_tx)
text = base_encode(text, base=43)
self.app.qr_dialog(_("Raw Transaction"), text)
self.app.qr_dialog(_("Raw Transaction"), text, text_for_clipboard=raw_tx)