python: fix debuglink usage of get_passphrase

pull/803/head
matejcik 4 years ago committed by Pavol Rusnak
parent 1f50a13edf
commit ee07b32f52
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -226,7 +226,7 @@ class DebugUI:
else:
return self.debuglink.read_pin_encoded()
def get_passphrase(self):
def get_passphrase(self, available_on_device):
return self.passphrase

@ -129,8 +129,6 @@ def client(request):
needs_backup=setup_params["needs_backup"],
no_backup=setup_params["no_backup"],
)
if setup_params["passphrase"]:
client.passphrase_on_host = True
if setup_params["pin"]:
# ClearSession locks the device. We only do that if the PIN is set.

Loading…
Cancel
Save