mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
We're going to want to do a few things differently, such as device recovery. So move the client code to clientbase.py and create a per-plugin client.py file for the derived client class.
11 lines
439 B
Python
11 lines
439 B
Python
from trezorlib.client import proto, BaseClient, ProtocolMixin
|
|
from clientbase import TrezorClientBase
|
|
|
|
class TrezorClient(TrezorClientBase, ProtocolMixin, BaseClient):
|
|
def __init__(self, transport, handler, plugin, hid_id):
|
|
TrezorClientBase.__init__(self, handler, plugin, hid_id, proto)
|
|
BaseClient.__init__(self, transport)
|
|
ProtocolMixin.__init__(self, transport)
|
|
|
|
|
|
TrezorClientBase.wrap_methods(TrezorClient)
|