1
0

lazy plugin constructor

This commit is contained in:
ThomasV
2015-05-24 20:37:05 +02:00
parent 71046371ec
commit 778297697a
6 changed files with 25 additions and 19 deletions

View File

@@ -40,8 +40,8 @@ class Plugin(BasePlugin):
self._is_available = self._init()
self.wallet = None
def get_wallet_type(self):
return ('hardware', 'btchip', _("BTChip wallet"), BTChipWallet)
def constructor(self, s):
return BTChipWallet(s)
def _init(self):
return BTCHIP