Commit 8605772
committed
BOLT 12: clarify that offer_amount must be greater than zero
Add explicit requirements that:
- Writers MUST set offer_amount greater than zero when present
- Readers MUST NOT respond to offers where offer_amount is zero
This addresses ambiguity about whether offer_amount=0 is valid.
Since omitting offer_amount indicates no minimum is required,
a zero value when present would be semantically incorrect.
Fixes #13141 parent 34455ff commit 8605772
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| 243 | + | |
243 | 244 | | |
244 | 245 | | |
245 | 246 | | |
| |||
299 | 300 | | |
300 | 301 | | |
301 | 302 | | |
| 303 | + | |
| 304 | + | |
302 | 305 | | |
303 | 306 | | |
304 | 307 | | |
| |||
0 commit comments