From 8d2c8b632fac3efcf59223157952cbb97b5049ff Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Fri, 15 Nov 2024 12:10:07 +0000 Subject: [PATCH] feat: pubkey in check quote --- 19.md | 6 ++++-- error_codes.md | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/19.md b/19.md index a2b82e3a..9fc2aca1 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 41e1c403..e73464e8 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] | +| 20008 | Pubkey required on mint quote | [NUT-19][19] | [00]: 00.md [01]: 01.md