calle 👁️⚡👁️ on Nostr: nostr uses x-only keys (32 bytes) which don't have the first '02' byte, wheras cashu ...
nostr uses x-only keys (32 bytes) which don't have the first '02' byte, wheras cashu uses compressed pubkeys (33 bytes). I doubt that `.splice(2, -1)` removes the last byte.
Published at
2024-10-04 12:25:18Event JSON
{
"id": "0f39fca9b3b97653d427139abd89e31338ed686dad2fa815258264a32c03b4ec",
"pubkey": "50d94fc2d8580c682b071a542f8b1e31a200b0508bab95a33bef0855df281d63",
"created_at": 1728044718,
"kind": 1,
"tags": [
[
"q",
"0c2286ec9a0d190839ead57e010cefff589011c42e88819ff2ec5fad4d57c90d"
],
[
"e",
"0c2286ec9a0d190839ead57e010cefff589011c42e88819ff2ec5fad4d57c90d",
"",
"reply",
"d04ecf33a303a59852fdb681ed8b412201ba85d8d2199aec73cb62681d62aa90"
]
],
"content": "nostr uses x-only keys (32 bytes) which don't have the first '02' byte, wheras cashu uses compressed pubkeys (33 bytes). I doubt that `.splice(2, -1)` removes the last byte.",
"sig": "1532511b569216cd0d21f62d274b4afe098e55aaea842cec84b9084eb1274cab1389ebd3b3909a785b993f0281765e1faed1c4ff5c3f96276e5c850251cccb7a"
}