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.
pull/25/head
Jochen Hoenicke 7 years ago committed by Pavol Rusnak
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…
Cancel
Save