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:
Jochen Hoenicke 2017-01-26 13:58:33 +01:00 committed by Pavol Rusnak
parent 8609f62f91
commit 1dc3152c11
1 changed files with 1 additions and 1 deletions

View File

@ -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.")