separate trezor and keepkey codebase
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user