remove buggy error msg

(cherry picked from commit 573456885f)
This commit is contained in:
scgbckbone 2023-05-26 11:30:24 +02:00 committed by doc-hex
parent 2c44856a84
commit f5d5ee0620

View File

@ -123,8 +123,7 @@ class PinAttempt:
assert MAX_PIN_LEN == 32 # update FMT otherwise
assert ustruct.calcsize(PIN_ATTEMPT_FMT_V1) == PIN_ATTEMPT_SIZE_V1, \
ustruct.calcsize(PIN_ATTEMPT_FMT)
assert ustruct.calcsize(PIN_ATTEMPT_FMT_V1) == PIN_ATTEMPT_SIZE_V1
assert ustruct.calcsize(PIN_ATTEMPT_FMT_V2_ADDITIONS) == PIN_ATTEMPT_SIZE - PIN_ATTEMPT_SIZE_V1
# check for bricked system early