|
@ -163,7 +163,7 @@ class TxDialog(QDialog, MessageBoxMixin): |
|
|
self.main_window.sign_tx(self.tx, sign_done) |
|
|
self.main_window.sign_tx(self.tx, sign_done) |
|
|
|
|
|
|
|
|
def save(self): |
|
|
def save(self): |
|
|
name = 'signed_%s.txn' % (self.tx.hash()[0:8]) if self.tx.is_complete() else 'unsigned.txn' |
|
|
name = 'signed_%s.txn' % (self.tx.txid()[0:8]) if self.tx.is_complete() else 'unsigned.txn' |
|
|
fileName = self.main_window.getSaveFileName(_("Select where to save your signed transaction"), name, "*.txn") |
|
|
fileName = self.main_window.getSaveFileName(_("Select where to save your signed transaction"), name, "*.txn") |
|
|
if fileName: |
|
|
if fileName: |
|
|
with open(fileName, "w+") as f: |
|
|
with open(fileName, "w+") as f: |
|
|