def __init__(self, transport, ask_for_pin_fun, ask_for_pass_fun): keepkey_TextUIMixin.__init__(self, transport) self.ask_for_pin_fun = ask_for_pin_fun self.ask_for_pass_fun = ask_for_pass_fun
def __init__(self, transport, ask_for_pin_fun, ask_for_pass_fun, passphrase_encoding): keepkey_TextUIMixin.__init__(self, transport) self.ask_for_pin_fun = ask_for_pin_fun self.ask_for_pass_fun = ask_for_pass_fun self.passphrase_encoding = passphrase_encoding self.__mnemonic = Mnemonic('english')