We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createHodlInvoice
This does not set the description_hash:.
const invoice = await createHodlInvoice({ lnd, id: '540c398ff10942d362386c648d0b6f918df1fe596c6953873779b6cdf71c4f25', description_hash: 'd97653a83596a42e369ceed4e480609f51377e1befa8c65852adecbc0cfca0e6', tokens: 10000, });
This would set the description_hash to d97653a83596a42e369ceed4e480609f51377e1befa8c65852adecbc0cfca0e6, although it is not the sha256() of test.
d97653a83596a42e369ceed4e480609f51377e1befa8c65852adecbc0cfca0e6
sha256()
test
const invoice = await createHodlInvoice({ lnd, id: '540c398ff10942d362386c648d0b6f918df1fe596c6953873779b6cdf71c4f25', description: 'test', description_hash: 'd97653a83596a42e369ceed4e480609f51377e1befa8c65852adecbc0cfca0e6', tokens: 10000, });
description_hash
The text was updated successfully, but these errors were encountered:
LND doesn't let you set both, it will silently drop one
Sorry, something went wrong.
Hmm hold invoice I thought it was regular, I can take a look
ok yeah it looks like it works the same, this is an LND behavior when you pass both
What about the first case where only the description_hash is passed, without a description?
description
Yeah that works
No branches or pull requests
This does not set the description_hash:.
This would set the description_hash to
d97653a83596a42e369ceed4e480609f51377e1befa8c65852adecbc0cfca0e6
, although it is not thesha256()
oftest
.Expected Behaviour
description_hash
tod97653a83596a42e369ceed4e480609f51377e1befa8c65852adecbc0cfca0e6
The text was updated successfully, but these errors were encountered: