Oddbean new post about | logout
 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.