1
0

separate trezor and keepkey codebase

This commit is contained in:
ThomasV
2017-12-04 14:06:37 +01:00
parent a03a5c00e3
commit 958b794bc9
6 changed files with 1208 additions and 9 deletions

View File

@@ -1,14 +1,14 @@
from keepkeylib.client import proto, BaseClient, ProtocolMixin
from ..trezor.clientbase import TrezorClientBase
from .clientbase import KeepKeyClientBase
class KeepKeyClient(TrezorClientBase, ProtocolMixin, BaseClient):
class KeepKeyClient(KeepKeyClientBase, ProtocolMixin, BaseClient):
def __init__(self, transport, handler, plugin):
BaseClient.__init__(self, transport)
ProtocolMixin.__init__(self, transport)
TrezorClientBase.__init__(self, handler, plugin, proto)
KeepKeyClientBase.__init__(self, handler, plugin, proto)
def recovery_device(self, *args):
ProtocolMixin.recovery_device(self, False, *args)
TrezorClientBase.wrap_methods(KeepKeyClient)
KeepKeyClientBase.wrap_methods(KeepKeyClient)