From 8f9c88dea7d35e6735cfa3bfd7da7bf1c926d252 Mon Sep 17 00:00:00 2001 From: Jacob Date: Fri, 1 Dec 2023 17:26:54 +0000 Subject: [PATCH] Fix inconsistency. The other functions defaulted to true, which is the correct behaviour. --- src/issuance/mdoc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/issuance/mdoc.rs b/src/issuance/mdoc.rs index 0034ad0e..dceecc1b 100644 --- a/src/issuance/mdoc.rs +++ b/src/issuance/mdoc.rs @@ -328,7 +328,7 @@ impl Builder { let device_key_info = self .device_key_info .ok_or_else(|| anyhow!("missing parameter: 'device_key_info'"))?; - let enable_decoy_digests = self.enable_decoy_digests.unwrap_or_default(); + let enable_decoy_digests = self.enable_decoy_digests.unwrap_or(true); Mdoc::issue_async( doc_type,