Skip to content

Commit

Permalink
remove redundant boolean (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc authored Nov 15, 2024
1 parent 95b2764 commit 7b53125
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions 15.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -49,8 +49,7 @@ The settings returned in the info endpoint ([NUT-06][06]) indicate that a mint s
[
{
"method": <str>,
"unit": <str>,
"mpp": <bool>
"unit": <str>
},
...
]
Expand All @@ -65,13 +64,11 @@ Example `MultipathPaymentSetting`:
"methods": [
{
"method": "bolt11",
"unit": "sat",
"mpp": true
"unit": "sat"
},
{
"method": "bolt11",
"unit": "usd",
"mpp": true
"unit": "usd"
}
]
}
Expand Down

0 comments on commit 7b53125

Please sign in to comment.