Removed unneccessary reference

This commit is contained in:
Hannes 2022-03-23 17:19:36 +01:00
parent c96a0714b6
commit 8c3fa0dd10

View file

@ -375,7 +375,7 @@ impl RatchetEncHeader {
}
if let Some(d) = &mut self.ckr {
while self.nr < until {
let (ckr, mk) = kdf_ck(&d);
let (ckr, mk) = kdf_ck(d);
*d = ckr;
self.mkskipped.insert((self.hkr, self.nr), mk);
self.nr += 1