Skip to content

Commit

Permalink
feat: remove redundant bool mpp flag
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed Nov 15, 2024
1 parent 7f4d00f commit 84909d9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion crates/cdk/src/mint/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ impl MintBuilder {
let mpp_settings = MppMethodSettings {
method,
unit: unit.clone(),
mpp: true,
};

let mut mpp = self.mint_info.nuts.nut15.clone();

mpp.methods.push(mpp_settings);
Expand Down
2 changes: 0 additions & 2 deletions crates/cdk/src/nuts/nut15.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ pub struct MppMethodSettings {
pub method: PaymentMethod,
/// Currency Unit e.g. sat
pub unit: CurrencyUnit,
/// Multi part payment support
pub mpp: bool,
}

/// Mpp Settings
Expand Down

0 comments on commit 84909d9

Please sign in to comment.