예제 #1
0
파일: client.py 프로젝트: bontaq/electrum
from trezorlib.client import proto, BaseClient, ProtocolMixin
from clientbase import TrezorClientBase

class TrezorClient(TrezorClientBase, ProtocolMixin, BaseClient):
    def __init__(self, transport, handler, plugin, hid_id):
        BaseClient.__init__(self, transport)
        ProtocolMixin.__init__(self, transport)
        TrezorClientBase.__init__(self, handler, plugin, hid_id, proto)


TrezorClientBase.wrap_methods(TrezorClient)
예제 #2
0
from trezorlib.client import proto, BaseClient, ProtocolMixin
from clientbase import TrezorClientBase

class TrezorClient(TrezorClientBase, ProtocolMixin, BaseClient):
    def __init__(self, transport, handler, plugin):
        BaseClient.__init__(self, transport)
        ProtocolMixin.__init__(self, transport)
        TrezorClientBase.__init__(self, handler, plugin, proto)


TrezorClientBase.wrap_methods(TrezorClient)