From 4f98f02ff9ea1dc4213b26ead7f85f87b472367a Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 28 Feb 2018 18:58:42 +0100 Subject: [PATCH] src/apps/common: fix typo in set_u2f_counter --- src/apps/common/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/common/storage.py b/src/apps/common/storage.py index 07dc2722..db92d2e8 100644 --- a/src/apps/common/storage.py +++ b/src/apps/common/storage.py @@ -108,7 +108,7 @@ def next_u2f_counter() -> int: def set_u2f_counter(cntr: int): - config.set(_APP, _FLAGS, cntr.to_bytes(4, 'big')) + config.set(_APP, _U2F_COUNTER, cntr.to_bytes(4, 'big')) def wipe():