diff --git a/TangemSdk/TangemSdk/Common/Services/Secure/BiometricsStorage.swift b/TangemSdk/TangemSdk/Common/Services/Secure/BiometricsStorage.swift index 87bc77172..bb03e7aeb 100644 --- a/TangemSdk/TangemSdk/Common/Services/Secure/BiometricsStorage.swift +++ b/TangemSdk/TangemSdk/Common/Services/Secure/BiometricsStorage.swift @@ -64,7 +64,7 @@ public class BiometricsStorage { Log.debug("BiometricsStorage set - status \(status.message) \(status)") if status == errSecDuplicateItem && overwrite { - var searchQuery: [CFString: Any] = [ + let searchQuery: [CFString: Any] = [ kSecClass: kSecClassGenericPassword, kSecAttrAccount: account, kSecUseDataProtectionKeychain: true, diff --git a/TangemSdk/TangemSdk/Common/TLV/Tlv.swift b/TangemSdk/TangemSdk/Common/TLV/Tlv.swift index 5cd2f9122..2028eefc7 100644 --- a/TangemSdk/TangemSdk/Common/TLV/Tlv.swift +++ b/TangemSdk/TangemSdk/Common/TLV/Tlv.swift @@ -77,13 +77,13 @@ public struct Tlv: Equatable { /// - Parameter dataStream: dataStream initialized with raw tlv private static func readTagLength(_ dataStream: InputStream) -> Int? { guard let shortLengthBytes = dataStream.readByte() else { - Log.error("Failed to read tag lenght") + Log.error("Failed to read tag length") return nil } if (shortLengthBytes == 0xFF) { guard let longLengthBytes = dataStream.readBytes(count: 2) else { - Log.error("Failed to read tag long lenght") + Log.error("Failed to read tag long length") return nil }