diff --git a/19.md b/19.md index a2b82e3..9fc2aca 100644 --- a/19.md +++ b/19.md @@ -35,7 +35,8 @@ The mint `Bob` then responds with a `PostMintQuoteBolt11Response`: "quote": , "request": , "state": , - "expiry": + "expiry": , + "pubkey": <-- New } ``` @@ -61,7 +62,8 @@ Response of `Bob`: "quote": "9d745270-1405-46de-b5c5-e2762b4f5e00", "request": "lnbc100n1pj4apw9...", "state": "UNPAID", - "expiry": 1701704757 + "expiry": 1701704757, + "pubkey": "03d56ce4e446a85bbdaa547b4ec2b073d40ff802831352b8272b7dd7a4de5a7cac" } ``` diff --git a/error_codes.md b/error_codes.md index 41e1c40..d746e01 100644 --- a/error_codes.md +++ b/error_codes.md @@ -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