1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-15 19:08:07 +00:00

Fixed missing parameter in reset_device

This commit is contained in:
slush0 2014-02-02 15:37:50 +01:00
parent 0262d13944
commit 7152e091a9

2
cmd.py
View File

@ -127,7 +127,7 @@ class Commands(object):
args.passphrase_protection, args.label, 'english') args.passphrase_protection, args.label, 'english')
def reset_device(self, args): def reset_device(self, args):
return self.client.reset_device(True, args.strength, args.passphrase, args.pin, args.label) return self.client.reset_device(True, args.strength, args.passphrase, args.pin, args.label, 'english')
def sign_message(self, args): def sign_message(self, args):
return pb2json(self.client.sign_message(args.n, args.message), {'message': args.message}) return pb2json(self.client.sign_message(args.n, args.message), {'message': args.message})