Browse Source

Merge pull request #457 from thesimplekid/redundant_mpp

feat: remove redundant bool mpp flag
thesimplekid 4 months ago
parent
commit
c9747900a3
2 changed files with 1 additions and 3 deletions
  1. 1 1
      crates/cdk/src/mint/builder.rs
  2. 0 2
      crates/cdk/src/nuts/nut15.rs

+ 1 - 1
crates/cdk/src/mint/builder.rs

@@ -139,8 +139,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);

+ 0 - 2
crates/cdk/src/nuts/nut15.rs

@@ -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