qr: return QrFprMismatch on fingerprint mismatch

Previously QrFprWithoutAddr was returned incorrectly.

Also fix spelling error ("Missmatch").
This commit is contained in:
link2xt
2021-03-15 07:52:32 +03:00
committed by link2xt
parent 7bc919fad5
commit 04f816be31
2 changed files with 67 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ pub enum LotState {
QrFprOk = 210,
/// id=contact
QrFprMissmatch = 220,
QrFprMismatch = 220,
/// test1=formatted fingerprint
QrFprWithoutAddr = 230,