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

Fix comment in _next_counter().

This commit is contained in:
andrew 2019-01-24 15:56:05 +01:00 committed by Pavol Rusnak
parent 434a9c2084
commit 8541c4265b
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -63,7 +63,7 @@ def _next_counter(app: int, key: int, public: bool = False) -> int:
# With each increment the tail is shifted to the right by one bit. Thus after
# three increments the stored value is 000000001FFFFFFFFFFFFFFF. Once all the
# bits in the tail are set to zero, the next counter value is stored as
# 00000021FFFFFFFFFFFFFFFF.
# 00000041FFFFFFFFFFFFFFFF.
value = config.get(app, key, public)
if value is None: