Skip to content

Commit

Permalink
Update to don't use removed default ticket type
Browse files Browse the repository at this point in the history
  • Loading branch information
octol committed Oct 12, 2024
1 parent 275cd9f commit 435d9d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nym-vpn-api/vpn-api-lib-wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl NymIssuanceTicketbook {
};

let ticketbook_type = match opts.ticketbook_type {
None => TicketType::default(),
None => TicketType::V1MixnetEntry,
Some(typ) => typ
.parse()
.map_err(|_| VpnApiLibError::MalformedTicketType)?,
Expand All @@ -104,7 +104,7 @@ impl NymIssuanceTicketbook {
Ok(NymIssuanceTicketbook {
ecash_keypair,
withdrawal_request,
ticketbook_type: Default::default(),
ticketbook_type,
expiration_date,
request_info: Zeroizing::new(request_info),
})
Expand Down

0 comments on commit 435d9d3

Please sign in to comment.