understand. Are you converting to hex?

Reply to this note

Please Login to reply.

Discussion

this is what I am doing.. Can you give me the line of code you are using before generating invoice in your CLN?

description_hash = Buffer.from(crypto.createHash('sha256').update(req.query.nostr).toString('hex'), 'hex')

CLN doesn't support description hash, you have to use the whole unhashed_desceiption.

See github.com/lnbits/lnbits/wallets/can.py as an example 🤙

cln.py damn

Ok. Let me look into. Can you share GitHub url for cln.py?