mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-10 15:30:55 +00:00
Fix comment in _next_counter().
This commit is contained in:
parent
434a9c2084
commit
8541c4265b
@ -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
|
# 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
|
# 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
|
# bits in the tail are set to zero, the next counter value is stored as
|
||||||
# 00000021FFFFFFFFFFFFFFFF.
|
# 00000041FFFFFFFFFFFFFFFF.
|
||||||
|
|
||||||
value = config.get(app, key, public)
|
value = config.get(app, key, public)
|
||||||
if value is None:
|
if value is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user