From e41c5a4e6bac9262808505c7c8a8b56e0e1cfbea Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Fri, 15 Nov 2024 17:38:40 +0100 Subject: [PATCH] remove redundant boolean --- 15.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/15.md b/15.md index 52efe74..233786a 100644 --- a/15.md +++ b/15.md @@ -40,7 +40,7 @@ Here, `request` is the bolt11 Lightning invoice to be paid, `unit` is the unit t ## Mint info setting -The settings returned in the info endpoint ([NUT-06][06]) indicate that a mint supports this NUT. The mint MUST indicate each `method` and `unit` that supports `mpp`. It can indicate this in an array of objects for multiple `method` and `unit` pairs and the boolean flag `mpp` set to `true`. +The settings returned in the info endpoint ([NUT-06][06]) indicate that a mint supports this NUT. The mint MUST indicate each `method` and `unit` that supports mpp. It can indicate this in an array of objects for multiple `method` and `unit` pairs. `MultipathPaymentSetting` is of the form: @@ -49,8 +49,7 @@ The settings returned in the info endpoint ([NUT-06][06]) indicate that a mint s [ { "method": , - "unit": , - "mpp": + "unit": }, ... ] @@ -65,13 +64,11 @@ Example `MultipathPaymentSetting`: "methods": [ { "method": "bolt11", - "unit": "sat", - "mpp": true + "unit": "sat" }, { "method": "bolt11", - "unit": "usd", - "mpp": true + "unit": "usd" } ] }