NotBiebs on Nostr: Try making the hash like this hashlib.sha256(bytes.fromhex(preimage)).hexdigest()
Try making the hash like this hashlib.sha256(bytes.fromhex(preimage)).hexdigest()
Published at
2024-10-12 18:29:34Event JSON
{
"id": "63c3ee22ec7657e9e4539af8c98fd919bddef1d8a1efea5726da0cbf7d627931",
"pubkey": "604e96e099936a104883958b040b47672e0f048c98ac793f37ffe4c720279eb2",
"created_at": 1728757774,
"kind": 1,
"tags": [
[
"e",
"a28f0be36d99ed741874f439896a95b3674435928cf09292b35dd0b0b0c2e91d",
"",
"root"
],
[
"e",
"ac5b7f47d11da4071d8f4c97ed387395b0e8188b9673e0ca531e8dcc7d0cb34e",
"",
"reply"
],
[
"p",
"be7358c4fe50148cccafc02ea205d80145e253889aa3958daafa8637047c840e"
]
],
"content": "Try making the hash like this hashlib.sha256(bytes.fromhex(preimage)).hexdigest()",
"sig": "29ee67c2b68dc19d1f50a2c5c55eb5728fb39ba26be9f210744261a22392ef57388187df770cecb224858d079955d21c5397920d53970a2a715c9e624b5431c6"
}