Skip to content

Commit

Permalink
fix description hash param key
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobl committed Jul 9, 2024
1 parent 79ca3c1 commit 5e900b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nip47.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5e900b8

Please sign in to comment.