1
0

trustedcoin: sign first, then prompt for OTP

This commit is contained in:
SomberNight
2018-05-08 20:04:36 +02:00
parent 7c6364c2c7
commit ceae43afe5
5 changed files with 42 additions and 18 deletions

View File

@@ -1584,8 +1584,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
# can sign directly
task = partial(Transaction.sign, tx, self.tx_external_keypairs)
else:
# call hook to see if plugin needs gui interaction
run_hook('sign_tx', self, tx)
task = partial(self.wallet.sign_transaction, tx, password)
WaitingDialog(self, _('Signing transaction...'), task,
on_signed, on_failed)