lemon on Nostr: Trying to working on the L402 lightning specification My understanding is that: ...
Trying to working on the L402 lightning specification
My understanding is that: sha256(preimage) = payment_hash
What am I doing wrong? I can never get these to match.
#programming #python #asknostr
Published at
2024-10-12 16:13:27Event JSON
{
"id": "a28f0be36d99ed741874f439896a95b3674435928cf09292b35dd0b0b0c2e91d",
"pubkey": "be7358c4fe50148cccafc02ea205d80145e253889aa3958daafa8637047c840e",
"created_at": 1728749607,
"kind": 1,
"tags": [
[
"t",
"programming"
],
[
"t",
"python"
],
[
"t",
"asknostr"
]
],
"content": "Trying to working on the L402 lightning specification\n\nMy understanding is that: sha256(preimage) = payment_hash\n\nWhat am I doing wrong? I can never get these to match.\n\n#programming #python #asknostr\nhttps://m.primal.net/LTjj.png ",
"sig": "72fb25f9a6d0630d37ced2fbfc0b8ee56c60742cc22a3f5de94ffcbc054c1ff241468b64fa663404df71d1878b25e5cdc1a66901428f6787d89a135819ebf3cb"
}