mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 15:31:31 +00:00
commit
7b72ded3d7
1 changed files with 2 additions and 2 deletions
|
@ -1706,7 +1706,7 @@ class ElectrumWindow(QMainWindow):
|
||||||
if fileName:
|
if fileName:
|
||||||
with open(fileName, "w+") as f:
|
with open(fileName, "w+") as f:
|
||||||
f.write(json.dumps(tx.as_dict(),indent=4) + '\n')
|
f.write(json.dumps(tx.as_dict(),indent=4) + '\n')
|
||||||
self.show_message(_("Transaction saved succesfully"))
|
self.show_message(_("Transaction saved successfully"))
|
||||||
if dialog:
|
if dialog:
|
||||||
dialog.done(0)
|
dialog.done(0)
|
||||||
except BaseException, e:
|
except BaseException, e:
|
||||||
|
@ -1716,7 +1716,7 @@ class ElectrumWindow(QMainWindow):
|
||||||
def send_raw_transaction(self, raw_tx, dialog = ""):
|
def send_raw_transaction(self, raw_tx, dialog = ""):
|
||||||
result, result_message = self.wallet.sendtx( raw_tx )
|
result, result_message = self.wallet.sendtx( raw_tx )
|
||||||
if result:
|
if result:
|
||||||
self.show_message("Transaction succesfully sent: %s" % (result_message))
|
self.show_message("Transaction successfully sent: %s" % (result_message))
|
||||||
if dialog:
|
if dialog:
|
||||||
dialog.done(0)
|
dialog.done(0)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue