Use ecash credential type for bandwidth value (#4840)
* Use ecash credential type for bandwidth value * Fill explicit default value for args * Use up-to-date values for tickets * Fix sdk example default value * Another default * Fix sdk test * Fix TicketTypeRepr default
This commit is contained in:
committed by
GitHub
parent
3c4bd13c2a
commit
18891e5f20
@@ -221,20 +221,11 @@ impl From<PayInfo> for NymPayInfo {
|
||||
}
|
||||
|
||||
#[derive(
|
||||
Default,
|
||||
Copy,
|
||||
Clone,
|
||||
Debug,
|
||||
PartialEq,
|
||||
Serialize,
|
||||
Deserialize,
|
||||
strum::Display,
|
||||
strum::EnumString,
|
||||
Copy, Clone, Debug, PartialEq, Serialize, Deserialize, strum::Display, strum::EnumString,
|
||||
)]
|
||||
#[serde(rename_all = "kebab-case")]
|
||||
#[strum(serialize_all = "kebab-case")]
|
||||
pub enum TicketType {
|
||||
#[default]
|
||||
V1MixnetEntry,
|
||||
V1MixnetExit,
|
||||
V1WireguardEntry,
|
||||
|
||||
Reference in New Issue
Block a user