diff --git a/electrum/gui/qml/qechannelopener.py b/electrum/gui/qml/qechannelopener.py index 0ee79b296..fb4229df2 100644 --- a/electrum/gui/qml/qechannelopener.py +++ b/electrum/gui/qml/qechannelopener.py @@ -35,7 +35,7 @@ class QEChannelOpener(QObject, AuthMixin): conflictingBackup = pyqtSignal([str], arguments=['message']) channelOpening = pyqtSignal([str], arguments=['peer']) channelOpenError = pyqtSignal([str], arguments=['message']) - channelOpenSuccess = pyqtSignal([str,bool,int], arguments=['cid','has_onchain_backup','min_depth','tx_complete']) + channelOpenSuccess = pyqtSignal([str,bool,int,bool], arguments=['cid','has_onchain_backup','min_depth','tx_complete']) dataChanged = pyqtSignal() # generic notify signal @@ -163,7 +163,7 @@ class QEChannelOpener(QObject, AuthMixin): node_id=self._peer.pubkey, fee_est=None) - acpt = lambda tx: self.do_open_channel(tx, str(self._peer), None) + acpt = lambda tx: self.do_open_channel(tx, str(self._peer), self._wallet.password) self._finalizer = QETxFinalizer(self, make_tx=mktx, accept=acpt) self._finalizer.canRbf = False diff --git a/electrum/gui/qml/qetxfinalizer.py b/electrum/gui/qml/qetxfinalizer.py index 85e7a462e..e86b331a3 100644 --- a/electrum/gui/qml/qetxfinalizer.py +++ b/electrum/gui/qml/qetxfinalizer.py @@ -280,7 +280,7 @@ class QETxFinalizer(QObject): fee = tx.get_fee() feerate = Decimal(fee) / tx_size # sat/byte - self.fee.satsInt = fee + self._fee.satsInt = int(fee) self.feeRate = f'{feerate:.1f}' #TODO diff --git a/electrum/gui/qml/qewallet.py b/electrum/gui/qml/qewallet.py index f0709d877..4cc28a428 100644 --- a/electrum/gui/qml/qewallet.py +++ b/electrum/gui/qml/qewallet.py @@ -407,7 +407,7 @@ class QEWallet(AuthMixin, QObject, QtEventListener): @auth_protect def sign(self, tx, *, broadcast: bool = False): - tx = self.wallet.sign_transaction(tx, None) + tx = self.wallet.sign_transaction(tx, self.password) if tx is None: self._logger.info('did not sign')