Example #1
0
 def show_qr(self):
     text = bfh(str(self.tx))
     text = base_encode(text, base=43)
     try:
         self.main_window.show_qrcode(text, 'Transaction', parent=self)
     except Exception as e:
         self.show_message(str(e))
Example #2
0
 def show_qr(self):
     from electroncash.bitcoin import base_encode, bfh
     text = bfh(str(self.tx))
     text = base_encode(text, base=43)
     self.app.qr_dialog(_("Raw Transaction"), text)