trezor: initialize cached_passphrase_ack with None (instead of 0)

This commit is contained in:
Roman Zeyde
2018-02-27 10:32:41 +02:00
parent e7604dff68
commit 55a899f929

View File

@@ -79,7 +79,7 @@ class Trezor(interface.Device):
conn.callback_PinMatrixRequest = new_handler
cached_passphrase_ack = 0
cached_passphrase_ack = None
def _override_passphrase_handler(self, conn):
cli_handler = conn.callback_PassphraseRequest