mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 14:58:09 +00:00
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.
This commit is contained in:
parent
8609f62f91
commit
1dc3152c11
@ -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.")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user