diff --git a/cashu/core/nuts.py b/cashu/core/nuts.py index 6c0b528..ffe788a 100644 --- a/cashu/core/nuts.py +++ b/cashu/core/nuts.py @@ -9,5 +9,6 @@ SCRIPT_NUT = 10 P2PK_NUT = 11 DLEQ_NUT = 12 DETERMINSTIC_SECRETS_NUT = 13 +HTLC_NUT = 14 MPP_NUT = 15 WEBSOCKETS_NUT = 17 diff --git a/cashu/mint/features.py b/cashu/mint/features.py index 43fdec4..85e8f71 100644 --- a/cashu/mint/features.py +++ b/cashu/mint/features.py @@ -8,6 +8,7 @@ from ..core.models import ( from ..core.nuts import ( DLEQ_NUT, FEE_RETURN_NUT, + HTLC_NUT, MELT_NUT, MINT_NUT, MPP_NUT, @@ -58,6 +59,7 @@ class LedgerFeatures(SupportsBackends): SCRIPT_NUT: supported_dict, P2PK_NUT: supported_dict, DLEQ_NUT: supported_dict, + HTLC_NUT: supported_dict, } # signal which method-unit pairs support MPP