commit 4a4b0922e50ab7ae3b0f0a47ae855101b424edec
parent b505763867f8283aeab62412981c758d45b88d56
Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 29 May 2020 19:06:56 +0200
trustedcoin: (trivial) add a stub method in plugin base class
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/electrum/plugins/trustedcoin/trustedcoin.py b/electrum/plugins/trustedcoin/trustedcoin.py
@@ -465,6 +465,9 @@ class TrustedCoinPlugin(BasePlugin):
self.prompt_user_for_otp(wallet, tx, on_success, on_failure)
return wrapper
+ def prompt_user_for_otp(self, wallet, tx, on_success, on_failure) -> None:
+ raise NotImplementedError()
+
@hook
def get_tx_extra_fee(self, wallet, tx: Transaction):
if type(wallet) != Wallet_2fa: