PR Feedback

This commit is contained in:
Nora Trapp 2019-11-19 18:10:04 -08:00
parent c0c2c3aebe
commit 38f733dffb
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ public extension SyncManagerProtocolSwift {
return newThreads.sorted { (lhs: (key: String, value: UInt32), rhs: (key: String, value: UInt32)) -> Bool in
lhs.value < rhs.value
}.map { $0.key }
}.map { $0.key }
}
}

View File

@ -454,7 +454,7 @@ public class KeyBackupService: NSObject {
private static var cachedMasterKey: Data?
// Always contains an in memory reference to our current pinKey2
private static var cachedPinKey2: Data?
// Always contains an in memory refernce to our received derived keys
// Always contains an in memory reference to our received derived keys
static var cachedSyncedDerivedKeys = [DerivedKey: Data]()
private static func store(_ masterKey: Data, pinKey2: Data, transaction: SDSAnyWriteTransaction) {