mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-09 16:18:10 +00:00
TEMP do pairing on client creation
This commit is contained in:
parent
36eec0ec76
commit
135648423b
@ -101,6 +101,7 @@ class TrezorClient:
|
|||||||
self._protocol_version = ProtocolVersion.V1
|
self._protocol_version = ProtocolVersion.V1
|
||||||
elif isinstance(self.protocol, ProtocolV2Channel):
|
elif isinstance(self.protocol, ProtocolV2Channel):
|
||||||
self._protocol_version = ProtocolVersion.V2
|
self._protocol_version = ProtocolVersion.V2
|
||||||
|
self.do_pairing()
|
||||||
else:
|
else:
|
||||||
raise Exception("Unknown protocol version")
|
raise Exception("Unknown protocol version")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user