2016-01-14 20:44:32 -08:00
|
|
|
from trezorlib.client import proto, BaseClient, ProtocolMixin
|
|
|
|
from clientbase import TrezorClientBase
|
2015-12-26 01:48:07 -08:00
|
|
|
|
2016-01-14 20:44:32 -08:00
|
|
|
class TrezorClient(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)
|
2015-12-26 01:48:07 -08:00
|
|
|
|
2015-12-26 22:10:53 -08:00
|
|
|
|
2016-01-14 20:44:32 -08:00
|
|
|
TrezorClientBase.wrap_methods(TrezorClient)
|