cleanup a hosted mode warning

This commit is contained in:
bunnie 2024-01-08 02:24:05 +08:00
parent 933666a67b
commit 0c657cffcd

View file

@ -19,6 +19,7 @@ impl Sha512Prehash {
hash: None
}
}
#[allow(dead_code)] // not used in hosted mode
pub fn set_prehash(&mut self, hash: [u8; 64]) {
self.hash = Some(hash);
}