Skip to content

Commit

Permalink
fix: remove disabled from NUT-05 info
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed Dec 17, 2023
1 parent 132b955 commit 9fdfa7c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions moksha-core/src/primitives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,14 +326,12 @@ impl Default for Nut4 {
#[derive(Deserialize, Serialize, Debug, PartialEq, Eq, ToSchema)]
pub struct Nut5 {
pub methods: Vec<(PaymentMethod, CurrencyUnit)>,
pub disabled: bool,
}

impl Default for Nut5 {
fn default() -> Self {
Self {
methods: vec![(PaymentMethod::Bolt11, CurrencyUnit::Sat)],
disabled: false,
}
}
}
Expand Down

0 comments on commit 9fdfa7c

Please sign in to comment.