2016-01-14 20:44:32 -08:00
|
|
|
from keepkeylib.client import proto, BaseClient, ProtocolMixin
|
|
|
|
from ..trezor.clientbase import TrezorClientBase
|
|
|
|
|
|
|
|
class KeepKeyClient(TrezorClientBase, ProtocolMixin, BaseClient):
|
2016-01-19 07:28:54 -08:00
|
|
|
def __init__(self, transport, handler, plugin):
|
2016-01-14 20:44:32 -08:00
|
|
|
BaseClient.__init__(self, transport)
|
|
|
|
ProtocolMixin.__init__(self, transport)
|
2016-01-19 07:28:54 -08:00
|
|
|
TrezorClientBase.__init__(self, handler, plugin, proto)
|
2016-01-14 20:44:32 -08:00
|
|
|
|
|
|
|
def recovery_device(self, *args):
|
|
|
|
ProtocolMixin.recovery_device(self, True, *args)
|
|
|
|
|
|
|
|
|
|
|
|
TrezorClientBase.wrap_methods(KeepKeyClient)
|