Browse Source
trustedcoin: (trivial) add a stub method in plugin base class
master
SomberNight
5 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
3 additions and
0 deletions
-
electrum/plugins/trustedcoin/trustedcoin.py
|
@ -465,6 +465,9 @@ class TrustedCoinPlugin(BasePlugin): |
|
|
self.prompt_user_for_otp(wallet, tx, on_success, on_failure) |
|
|
self.prompt_user_for_otp(wallet, tx, on_success, on_failure) |
|
|
return wrapper |
|
|
return wrapper |
|
|
|
|
|
|
|
|
|
|
|
def prompt_user_for_otp(self, wallet, tx, on_success, on_failure) -> None: |
|
|
|
|
|
raise NotImplementedError() |
|
|
|
|
|
|
|
|
@hook |
|
|
@hook |
|
|
def get_tx_extra_fee(self, wallet, tx: Transaction): |
|
|
def get_tx_extra_fee(self, wallet, tx: Transaction): |
|
|
if type(wallet) != Wallet_2fa: |
|
|
if type(wallet) != Wallet_2fa: |
|
|