follow-up a03f4769ca
fixes TypeError: auth_protect.<locals>.decorator() got an unexpected keyword argument 'broadcast'
This commit is contained in:
@@ -485,7 +485,7 @@ class QEWallet(AuthMixin, QObject, QtEventListener):
|
||||
self.isLightningChanged.emit()
|
||||
self.dataChanged.emit()
|
||||
|
||||
@auth_protect
|
||||
@auth_protect()
|
||||
def sign(self, tx, *, broadcast: bool = False):
|
||||
sign_hook = run_hook('tc_sign_wrapper', self.wallet, tx, partial(self.on_sign_complete, broadcast),
|
||||
self.on_sign_failed)
|
||||
|
||||
Reference in New Issue
Block a user