add skip checksum option to load device

This commit is contained in:
Pavol Rusnak 2015-10-19 19:48:14 +02:00
parent 6475f98b1e
commit 8b0610c16a
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -149,7 +149,7 @@ class Commands(object):
if args.mnemonic:
mnemonic = ' '.join(args.mnemonic)
return self.client.load_device_by_mnemonic(mnemonic, args.pin,
args.passphrase_protection, args.label, 'english')
args.passphrase_protection, args.label, 'english', args.skip_checksum)
else:
return self.client.load_device_by_xprv(args.xprv, args.pin,
@ -315,6 +315,7 @@ class Commands(object):
(('-p', '--pin'), {'type': str, 'default': ''}),
(('-r', '--passphrase-protection'), {'action': 'store_true', 'default': False}),
(('-l', '--label'), {'type': str, 'default': ''}),
(('-s', '--skip-checksum'), {'action': 'store_true', 'default': False}),
)
reset_device.arguments = (