feat: remove redundant bool mpp flag

This commit is contained in:
thesimplekid
2024-11-15 16:45:29 +00:00
parent 7f4d00f390
commit 84909d9fbc
2 changed files with 1 additions and 3 deletions

View File

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

View File

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