2016-01-15 13:44:32 +09:00
|
|
|
from keepkeylib.client import proto, BaseClient, ProtocolMixin
|
|
|
|
|
from ..trezor.clientbase import TrezorClientBase
|
|
|
|
|
|
|
|
|
|
class KeepKeyClient(TrezorClientBase, ProtocolMixin, BaseClient):
|
2016-01-20 00:28:54 +09:00
|
|
|
def __init__(self, transport, handler, plugin):
|
2016-01-15 13:44:32 +09:00
|
|
|
BaseClient.__init__(self, transport)
|
|
|
|
|
ProtocolMixin.__init__(self, transport)
|
2016-01-20 00:28:54 +09:00
|
|
|
TrezorClientBase.__init__(self, handler, plugin, proto)
|
2016-01-15 13:44:32 +09:00
|
|
|
|
|
|
|
|
def recovery_device(self, *args):
|
2016-01-23 12:09:52 +09:00
|
|
|
ProtocolMixin.recovery_device(self, False, *args)
|
2016-01-15 13:44:32 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
TrezorClientBase.wrap_methods(KeepKeyClient)
|