Skip to content

Commit

Permalink
feat: pubkey in check quote
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed Nov 15, 2024
1 parent 5eed3b7 commit 2906fe8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions 19.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ The mint `Bob` then responds with a `PostMintQuoteBolt11Response`:
"quote": <str>,
"request": <str>,
"state": <str_enum[STATE]>,
"expiry": <int>
"expiry": <int>,
"pubkey": <str|null> <-- New
}
```

Expand All @@ -61,7 +62,8 @@ Response of `Bob`:
"quote": "9d745270-1405-46de-b5c5-e2762b4f5e00",
"request": "lnbc100n1pj4apw9...",
"state": "UNPAID",
"expiry": 1701704757
"expiry": 1701704757,
"pubkey": "03d56ce4e446a85bbdaa547b4ec2b073d40ff802831352b8272b7dd7a4de5a7cac"
}
```

Expand Down
4 changes: 2 additions & 2 deletions error_codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
| 20005 | Quote is pending | [NUT-04][04], [NUT-05][05] |
| 20006 | Invoice already paid | [NUT-05][05] |
| 20007 | Quote is expired | [NUT-04][04], [NUT-05][05] |
| 20008 | Invalid witness | [NUT-19][19] |
| 20009 | Witness not provided for mint quote | [NUT-19][19] |
| 20008 | Witness on mint request not provided or invalid | [NUT-19][19] |
| 20009 | Pubkey required on mint quote | [NUT-19][19] |

[00]: 00.md
[01]: 01.md
Expand Down

0 comments on commit 2906fe8

Please sign in to comment.