From 5e900b8c727ec5ba8bc527110a0b65b4d897bb89 Mon Sep 17 00:00:00 2001 From: Riccardo Balbo Date: Tue, 9 Jul 2024 08:16:58 +0200 Subject: [PATCH] fix description hash param key --- src/Nip47.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nip47.cpp b/src/Nip47.cpp index 7e7ad12..09cc69d 100644 --- a/src/Nip47.cpp +++ b/src/Nip47.cpp @@ -32,7 +32,7 @@ SignedNostrEvent Nip47::makeInvoice(unsigned long amount, NostrString descriptio params["description"] = description; } if (NostrString_length(descriptionHash) > 0) { - params["descriptionHash"] = descriptionHash; + params["description_hash"] = descriptionHash; } if (expiry > 0) { params["expiry"] = expiry;