refactor: default on MintInfo

This commit is contained in:
thesimplekid
2024-01-16 23:19:19 +00:00
parent 10da215c88
commit ff1aed453f

View File

@@ -45,7 +45,7 @@ impl<'de> Deserialize<'de> for MintVersion {
}
/// Mint Info [NIP-09]
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
#[derive(Default, Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct MintInfo {
/// name of the mint and should be recognizable
#[serde(skip_serializing_if = "Option::is_none")]