From 1dc3152c11f4a94afcc3eca6251144c938b1d316 Mon Sep 17 00:00:00 2001 From: Jochen Hoenicke Date: Thu, 26 Jan 2017 13:58:33 +0100 Subject: [PATCH] Make ScrambledWords default recovery method (#93) For backwards compatibility, existing code should use the old recovery method unless it explicitly states that it is compatible to the new one. --- trezorlib/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trezorlib/client.py b/trezorlib/client.py index 540510e..e14c980 100644 --- a/trezorlib/client.py +++ b/trezorlib/client.py @@ -812,7 +812,7 @@ class ProtocolMixin(object): @field('message') @expect(proto.Success) - def recovery_device(self, word_count, passphrase_protection, pin_protection, label, language, type=types.RecoveryDeviceType_Matrix): + def recovery_device(self, word_count, passphrase_protection, pin_protection, label, language, type=types.RecoveryDeviceType_ScrambledWords): if self.features.initialized: raise Exception("Device is initialized already. Call wipe_device() and try again.")