chore: make CompressedXofKeySet::decompress take a reference

This commit is contained in:
David Palm
2026-04-13 17:04:30 +02:00
committed by David
parent 4790f8ba1c
commit 96d230cf6f

View File

@@ -378,7 +378,7 @@ impl CompressedXofKeySet {
}
/// Decompress the KeySet
pub fn decompress(self) -> crate::Result<XofKeySet> {
pub fn decompress(&self) -> crate::Result<XofKeySet> {
let tag = self.compressed_server_key.tag.clone();
let (mut public_key, expanded_server_key) = self.expand();
// Server key tag is the source of truth; sync public key