1
0

Introduced BasePlugin.can_user_disable(). TrustedCoin plugin can't be disabled by user.

This commit is contained in:
SomberNight
2017-10-24 04:42:52 +02:00
parent 020f0637d7
commit 523de69b5e
3 changed files with 11 additions and 2 deletions

View File

@@ -332,6 +332,9 @@ class TrustedCoinPlugin(BasePlugin):
def is_enabled(self):
return True
def can_user_disable(self):
return False
@hook
def get_tx_extra_fee(self, wallet, tx):
if type(wallet) != Wallet_2fa: