qml: fixes
This commit is contained in:
@@ -297,8 +297,9 @@ Pane {
|
||||
'satoshis': invoice.amount,
|
||||
'message': invoice.message
|
||||
})
|
||||
var wo = Daemon.currentWallet.isWatchOnly
|
||||
dialog.txaccepted.connect(function() {
|
||||
if (Daemon.currentWallet.isWatchOnly) {
|
||||
if (wo) {
|
||||
showUnsignedTx(dialog.finalizer.serializedTx())
|
||||
} else {
|
||||
dialog.finalizer.send_onchain()
|
||||
|
||||
@@ -309,7 +309,7 @@ class QETxFinalizer(QObject):
|
||||
self.f_accept(self._tx)
|
||||
return
|
||||
|
||||
self._wallet.sign_and_broadcast(self._tx)
|
||||
self._wallet.sign(self._tx, broadcast=True)
|
||||
|
||||
@pyqtSlot(result=str)
|
||||
def serializedTx(self):
|
||||
|
||||
Reference in New Issue
Block a user