mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 09:45:18 +00:00
fix: unsigned transactions in gui
This commit is contained in:
parent
fd8687ce18
commit
f549e15a12
1 changed files with 3 additions and 1 deletions
|
@ -927,7 +927,9 @@ class ElectrumWindow(QMainWindow):
|
||||||
else:
|
else:
|
||||||
filename = 'unsigned_tx'
|
filename = 'unsigned_tx'
|
||||||
f = open(filename,'w')
|
f = open(filename,'w')
|
||||||
f.write(tx)
|
import json
|
||||||
|
out = json.dumps({"hex":str(tx), "complete":tx.is_complete, 'input_info':repr(tx.input_info).replace(' ','')})
|
||||||
|
f.write(out + '\n')
|
||||||
f.close()
|
f.close()
|
||||||
QMessageBox.information(self, _('Unsigned transaction'), _("Unsigned transaction was saved to file:") + " " +filename, _('OK'))
|
QMessageBox.information(self, _('Unsigned transaction'), _("Unsigned transaction was saved to file:") + " " +filename, _('OK'))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue