mirror of
https://github.com/aljazceru/cdk.git
synced 2026-02-05 21:26:13 +01:00
feat: remove redundant bool mpp flag
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user