Coinbase BuyBack plugin
This commit is contained in:
@@ -758,7 +758,7 @@ class MiniActuator:
|
||||
|
||||
self.waiting_dialog(lambda: False if self.g.wallet.tx_event.isSet() else _("Sending transaction, please wait..."))
|
||||
|
||||
status, message = self.g.wallet.receive_tx(h)
|
||||
status, message = self.g.wallet.receive_tx(h, tx)
|
||||
|
||||
if not status:
|
||||
import tempfile
|
||||
|
||||
@@ -941,7 +941,7 @@ class ElectrumWindow(QMainWindow):
|
||||
if tx.is_complete:
|
||||
h = self.wallet.send_tx(tx)
|
||||
waiting_dialog(lambda: False if self.wallet.tx_event.isSet() else _("Please wait..."))
|
||||
status, msg = self.wallet.receive_tx( h )
|
||||
status, msg = self.wallet.receive_tx( h, tx )
|
||||
if status:
|
||||
QMessageBox.information(self, '', _('Payment sent.')+'\n'+msg, _('OK'))
|
||||
self.do_clear()
|
||||
|
||||
@@ -208,7 +208,7 @@ class ElectrumGui:
|
||||
h = self.wallet.send_tx(tx)
|
||||
print(_("Please wait..."))
|
||||
self.wallet.tx_event.wait()
|
||||
status, msg = self.wallet.receive_tx( h )
|
||||
status, msg = self.wallet.receive_tx( h, tx )
|
||||
|
||||
if status:
|
||||
print(_('Payment sent.'))
|
||||
|
||||
@@ -319,7 +319,7 @@ class ElectrumGui:
|
||||
h = self.wallet.send_tx(tx)
|
||||
self.show_message(_("Please wait..."), getchar=False)
|
||||
self.wallet.tx_event.wait()
|
||||
status, msg = self.wallet.receive_tx( h )
|
||||
status, msg = self.wallet.receive_tx( h, tx )
|
||||
|
||||
if status:
|
||||
self.show_message(_('Payment sent.'))
|
||||
|
||||
Reference in New Issue
Block a user