python: passphrase on host is the default for T1

pull/803/head
Tomas Susanka 4 years ago committed by Pavol Rusnak
parent f21c13f0bd
commit dc53df772f
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -136,6 +136,9 @@ class TrezorClient:
self.session_counter = 0
self.init_device()
if self.features.model == "1": # TODO @matejcik: move this to the UI object
self.passphrase_on_host = True
def open(self):
if self.session_counter == 0:
self.transport.begin_session()

Loading…
Cancel
Save