1
0
fixes TypeError: auth_protect.<locals>.decorator() got an unexpected keyword argument 'broadcast'
This commit is contained in:
ThomasV
2023-04-18 14:30:24 +02:00
parent 5e29b94561
commit 9dbf354bf2

View File

@@ -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)