Commit 5314ebb
committed
offer: fix path validation to only require non-empty paths when issuer_id is missing
When an offer has an issuer_id, empty paths should be allowed since the
issuer_id can be used for signing. Only when issuer_id is None should
we require non-empty paths to extract the blinded node ID for signing.1 parent 633cb49 commit 5314ebb
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1287 | 1287 | | |
1288 | 1288 | | |
1289 | 1289 | | |
1290 | | - | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
1291 | 1293 | | |
1292 | 1294 | | |
1293 | 1295 | | |
| |||
2001 | 2003 | | |
2002 | 2004 | | |
2003 | 2005 | | |
| 2006 | + | |
2004 | 2007 | | |
2005 | 2008 | | |
2006 | 2009 | | |
| |||
0 commit comments