Skip to content

Commit

Permalink
Fix inconsistency.
Browse files Browse the repository at this point in the history
The other functions defaulted to true, which is the correct behaviour.
  • Loading branch information
cobward authored Dec 1, 2023
1 parent 3183341 commit 8f9c88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/issuance/mdoc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8f9c88d

Please sign in to comment.